mirror of https://github.com/ceph/ceph-ansible.git
ceph-common: use stdout for the register var
Signed-off-by: Sébastien Han <seb@redhat.com>pull/543/head
parent
7ea9d95815
commit
68a9d45a49
|
@ -20,9 +20,9 @@
|
|||
command: sysctl -b vm.min_free_kbytes
|
||||
register: default_vm_min_free_kbytes
|
||||
|
||||
- name: calculate vm.min_free_kbytes
|
||||
- name: define vm.min_free_kbytes
|
||||
set_fact:
|
||||
vm_min_free_kbytes: "{{ 4194303 if ansible_memtotal_mb >= 49152 else default_vm_min_free_kbytes|int }}"
|
||||
vm_min_free_kbytes: "{{ 4194303 if ansible_memtotal_mb >= 49152 else default_vm_min_free_kbytes.stdout }}"
|
||||
|
||||
- name: apply operating system tuning
|
||||
sysctl:
|
||||
|
|
Loading…
Reference in New Issue