mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #920 from mbukatov/drop-disable-swap
remove ability to disable swappull/815/head
commit
0490b3d70a
|
@ -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 }
|
||||
|
|
|
@ -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 }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue