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
This commit is contained in:
parent
9b69f08a6f
commit
eb62c8f95e
@ -30,6 +30,6 @@
|
|||||||
fail:
|
fail:
|
||||||
msg: "Make sure ceph-ansible package is installed from {{ ceph_ansible_repo }}"
|
msg: "Make sure ceph-ansible package is installed from {{ ceph_ansible_repo }}"
|
||||||
when:
|
when:
|
||||||
|
- (repo.stdout | length == 0 or repo.stdout != "{{ ceph_ansible_repo }}")
|
||||||
- fail_without_ceph_ansible|default(false)|bool
|
- 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