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