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
Vytenis Sabaliauskas 2020-01-23 10:58:18 +02:00 committed by Guillaume Abrioux
parent 671b1aba3c
commit ed1eaa1f38
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
when:
- not containerized_deployment | bool
- item.rc is defined
- item.rc == 1
- item.rc == 0
- name: set_fact running_mon - container
set_fact: