mirror of https://github.com/ceph/ceph-ansible.git
Added support for --check flag in ceph-common
The ceph-common role fails when you run ansible with --check. Adding always_run to a few tasks makes the check go through easier (although it's not foolproof).pull/888/head
parent
ce3258898f
commit
3100d81831
|
@ -2,6 +2,7 @@
|
|||
- name: get ceph version
|
||||
command: ceph --version
|
||||
changed_when: false
|
||||
always_run: true
|
||||
register: ceph_version
|
||||
|
||||
- set_fact:
|
||||
|
@ -11,6 +12,7 @@
|
|||
- name: check init system
|
||||
slurp:
|
||||
src: /proc/1/comm
|
||||
always_run: true
|
||||
register: init_system
|
||||
|
||||
- set_fact:
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
command: sysctl -b vm.min_free_kbytes
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
always_run: true
|
||||
register: default_vm_min_free_kbytes
|
||||
|
||||
- name: define vm.min_free_kbytes
|
||||
|
|
Loading…
Reference in New Issue