]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
infra-playbooks: rewite a condition for better readability
authorRishabh Dave <ridave@redhat.com>
Thu, 25 Jul 2019 11:32:32 +0000 (17:02 +0530)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 29 Jul 2019 13:52:29 +0000 (15:52 +0200)
commit8ca88b41cce6ff14fbb7e785c0eaca71e26be7a9
treec66361bee82778a0c9804494128bca8ea91121a6
parent432257b6ddaef18ae058f03d7697c2c1d770fee8
infra-playbooks: rewite a condition for better readability

Use facility built-in in Ansible to check whether a command was executed
successfully rather looking at its return value.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 5aecdd3ba6e67019eda7adcfa6bb5f2a3cce5081)
infrastructure-playbooks/shrink-mgr.yml
infrastructure-playbooks/shrink-rbdmirror.yml