mirror of https://github.com/ceph/ceph-ansible.git
Fix and improve checks when ceph_origin == 'distro'
parent
c8e4eac98f
commit
bd7d776e3b
|
@ -1,8 +1,16 @@
|
|||
---
|
||||
- name: make sure an installation origin was chosen
|
||||
fail:
|
||||
msg: "choose an installation origin"
|
||||
when:
|
||||
ceph_origin != 'upstream' and
|
||||
ceph_origin != 'distro'
|
||||
|
||||
- name: make sure an installation source was chosen
|
||||
fail:
|
||||
msg: "choose an installation source or read https://github.com/ceph/ceph-ansible/wiki"
|
||||
msg: "choose an upstream installation source or read https://github.com/ceph/ceph-ansible/wiki"
|
||||
when:
|
||||
ceph_origin == 'upstream' and
|
||||
not ceph_stable and
|
||||
not ceph_dev and
|
||||
not ceph_stable_ice and
|
||||
|
|
Loading…
Reference in New Issue