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>
(cherry picked from commit ed1eaa1f38
)
pull/4983/head
parent
add4089e30
commit
4152a1a862
|
@ -89,7 +89,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