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
Vytenis Sabaliauskas 2020-01-23 10:58:18 +02:00 committed by Dimitri Savineau
parent add4089e30
commit 4152a1a862
1 changed files with 1 additions and 1 deletions

View File

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