ceph-common: use stdout for the register var

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/543/head
Sébastien Han 2016-02-16 15:48:28 +01:00
parent 7ea9d95815
commit 68a9d45a49
1 changed files with 2 additions and 2 deletions

View File

@ -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: