diff --git a/group_vars/all.sample b/group_vars/all.sample index 04ba5434b..d9732ab4c 100644 --- a/group_vars/all.sample +++ b/group_vars/all.sample @@ -320,7 +320,6 @@ dummy: ############# #disable_transparent_hugepage: true -#disable_swap: false #os_tuning_params: # - { name: kernel.pid_max, value: 4194303 } # - { name: fs.file-max, value: 26234859 } diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index 9f15acf85..aefdd012b 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -312,7 +312,6 @@ ceph_conf_overrides: {} ############# disable_transparent_hugepage: true -disable_swap: false os_tuning_params: - { name: kernel.pid_max, value: 4194303 } - { name: fs.file-max, value: 26234859 } diff --git a/roles/ceph-common/tasks/misc/system_tuning.yml b/roles/ceph-common/tasks/misc/system_tuning.yml index b6ad51995..621770520 100644 --- a/roles/ceph-common/tasks/misc/system_tuning.yml +++ b/roles/ceph-common/tasks/misc/system_tuning.yml @@ -10,12 +10,6 @@ failed_when: false when: disable_transparent_hugepage -- name: disable swap - command: swapoff -a - changed_when: false - failed_when: false - when: disable_swap - - name: get default vm.min_free_kbytes command: sysctl -b vm.min_free_kbytes changed_when: false