Merge "Sync: Enable post-copy by setting unprivileged_userfaultfd"
This commit is contained in:
commit
be6f2d72b2
|
@ -19,6 +19,20 @@
|
|||
name: tripleo_nvdimm
|
||||
when: tripleo_nova_compute_pmem_namespaces # not a bool
|
||||
|
||||
- name: manage OS version 9 specific sysctls
|
||||
when:
|
||||
- ansible_facts['os_family'] == 'RedHat'
|
||||
- ansible_facts['distribution_major_version'] is version('9', '==')
|
||||
block:
|
||||
- name: Enable post-copy by setting unprivileged_userfaultfd
|
||||
sysctl:
|
||||
name: "vm.unprivileged_userfaultfd"
|
||||
value: 1
|
||||
sysctl_set: true
|
||||
sysctl_file: /etc/sysctl.d/99-tripleo-postcopy.conf
|
||||
state: present
|
||||
reload: true
|
||||
|
||||
- name: enable/disable ksm
|
||||
block:
|
||||
- name: disable KSM on compute
|
||||
|
|
Loading…
Reference in New Issue