2015-07-04 02:18:41 +08:00
|
|
|
---
|
2015-09-22 00:04:19 +08:00
|
|
|
- name: make sure an installation origin was chosen
|
|
|
|
fail:
|
|
|
|
msg: "choose an installation origin"
|
|
|
|
when:
|
2016-05-09 22:08:33 +08:00
|
|
|
- ceph_origin != 'upstream'
|
|
|
|
- ceph_origin != 'distro'
|
2016-06-06 22:22:20 +08:00
|
|
|
- ceph_origin != 'local'
|
2016-02-13 05:32:48 +08:00
|
|
|
tags:
|
|
|
|
- package-install
|
2015-09-22 00:04:19 +08:00
|
|
|
|
2015-07-04 02:18:41 +08:00
|
|
|
- name: make sure an installation source was chosen
|
2015-09-04 00:18:53 +08:00
|
|
|
fail:
|
2015-09-22 00:04:19 +08:00
|
|
|
msg: "choose an upstream installation source or read https://github.com/ceph/ceph-ansible/wiki"
|
2015-07-04 02:18:41 +08:00
|
|
|
when:
|
2016-05-09 22:08:33 +08:00
|
|
|
- ceph_origin == 'upstream'
|
|
|
|
- not ceph_stable
|
|
|
|
- not ceph_dev
|
2016-08-12 23:28:55 +08:00
|
|
|
- not ceph_rhcs
|
2016-05-09 22:08:33 +08:00
|
|
|
- not ceph_stable_uca
|
2016-12-14 16:55:41 +08:00
|
|
|
- not ceph_custom
|
2016-02-13 05:32:48 +08:00
|
|
|
tags:
|
|
|
|
- package-install
|
2015-07-04 02:18:41 +08:00
|
|
|
|
|
|
|
- name: verify that a method was chosen for red hat storage
|
2015-09-04 00:18:53 +08:00
|
|
|
fail:
|
2016-08-12 23:28:55 +08:00
|
|
|
msg: "choose between ceph_rhcs_cdn_install and ceph_rhcs_iso_install"
|
2015-07-04 02:18:41 +08:00
|
|
|
when:
|
2016-08-12 23:28:55 +08:00
|
|
|
- ceph_rhcs
|
|
|
|
- not ceph_rhcs_cdn_install
|
|
|
|
- not ceph_rhcs_iso_install
|
2016-05-09 22:08:33 +08:00
|
|
|
- ceph_origin == "upstream"
|
2016-02-13 05:32:48 +08:00
|
|
|
tags:
|
|
|
|
- package-install
|