diff --git a/ansible/inventory.yml b/ansible/inventory.yml index ee40e88c6..38f6988c8 100644 --- a/ansible/inventory.yml +++ b/ansible/inventory.yml @@ -311,7 +311,7 @@ hosts: - rackspace: centos7-x64-1: {ip: 119.9.27.82} debian10-x64-1: {ip: 104.239.140.184} - debian11-x64-1: {ip: 23.253.109.216} + debian11-x64-1: {ip: 23.253.109.216, swap_file_size_mb: 4096} fedora32-x64-1: {ip: 119.9.51.79} ubuntu1604-x64-1: {ip: 119.9.51.176} ubuntu1604-x64-2: {ip: 104.130.124.194} diff --git a/ansible/roles/bootstrap/tasks/partials/debian11.yml b/ansible/roles/bootstrap/tasks/partials/debian11.yml new file mode 100644 index 000000000..65b091e91 --- /dev/null +++ b/ansible/roles/bootstrap/tasks/partials/debian11.yml @@ -0,0 +1,9 @@ +--- + +# +# debian 11 +# + +- name: set up swap on Linux + include_tasks: linux-swap.yml + when: swap_file_size_mb is defined