Merge "Improve the ceph-ansible repository error message" into stable/train
This commit is contained in:
commit
aeea5d78b0
|
@ -28,7 +28,9 @@
|
|||
|
||||
- name: Fail if ceph-ansible doesn't belong to the specified repo
|
||||
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 }} \
|
||||
or configure the repo name you intend to install it from using the \
|
||||
'CephAnsibleRepo' variable provided by tripleo-heat-templates"
|
||||
when:
|
||||
- (repo.stdout | length == 0 or repo.stdout != "{{ ceph_ansible_repo }}")
|
||||
- fail_without_ceph_ansible|default(false)|bool
|
||||
|
|
Loading…
Reference in New Issue