mirror of https://github.com/ceph/ceph-ansible.git
ceph-facts: Fix for 'running_mon is undefined' error, so that
fact 'running_mon' is set once 'grep' successfully exits with 'rc == 0' Signed-off-by: Vytenis Sabaliauskas <vytenis.sabaliauskas@protonmail.com>pull/4985/head
parent
671b1aba3c
commit
ed1eaa1f38
|
@ -83,7 +83,7 @@
|
||||||
when:
|
when:
|
||||||
- not containerized_deployment | bool
|
- not containerized_deployment | bool
|
||||||
- item.rc is defined
|
- item.rc is defined
|
||||||
- item.rc == 1
|
- item.rc == 0
|
||||||
|
|
||||||
- name: set_fact running_mon - container
|
- name: set_fact running_mon - container
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|
Loading…
Reference in New Issue