Merge "Improve the ceph-ansible repository error message" into stable/train

This commit is contained in:
Zuul 2020-05-12 14:30:50 +00:00 committed by Gerrit Code Review
commit aeea5d78b0
1 changed files with 3 additions and 1 deletions

View File

@ -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