mirror of https://github.com/ceph/ceph-ansible.git
common: fix "disable transparent hugepage"
To configure kernel the task is using "command" module which is not respect operator ">". So this task just print to "stdout": "never > /sys/kernel/mm/transparent_hugepage/enabled" fix: #1319 Signed-off-by: Sébastien Han <seb@redhat.com>pull/1322/head
parent
adb85530b7
commit
7c79e09424
|
@ -5,7 +5,8 @@
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: disable transparent hugepage
|
- name: disable transparent hugepage
|
||||||
command: "echo never > /sys/kernel/mm/transparent_hugepage/enabled"
|
shell: |
|
||||||
|
echo never > /sys/kernel/mm/transparent_hugepage/enabled
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when: disable_transparent_hugepage
|
when: disable_transparent_hugepage
|
||||||
|
|
Loading…
Reference in New Issue