Fix ceph-ansible repo check
This commit fix the order of the "when" condition items when
the ceph-ansible repo is evaluated.
Change-Id: I5341dc3894aa672fda746cdd81e16712ee312c52
Closes-Bug: 1857460
(cherry picked from commit eb62c8f95e
)
This commit is contained in:
parent
cb4899fd2f
commit
dc4fd109a6
@ -30,6 +30,6 @@
|
||||
fail:
|
||||
msg: "Make sure ceph-ansible package is installed from {{ ceph_ansible_repo }}"
|
||||
when:
|
||||
- (repo.stdout | length == 0 or repo.stdout != "{{ ceph_ansible_repo }}")
|
||||
- fail_without_ceph_ansible|default(false)|bool
|
||||
- (repo.stdout | length > 0 or repo.stdout != "{{ ceph_ansible_repo }}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user