fix when clauses for installation of ceph RPM

pull/684/head
Ben England 2016-04-05 21:11:37 -04:00
parent bca73c1ef1
commit b199bdcfab
1 changed files with 12 additions and 16 deletions

View File

@ -44,11 +44,10 @@
- ceph
- ceph-mon
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and
(ceph_origin == "distro" or ceph_stable_rh_storage or
(ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
mon_group_name in group_names and
ansible_pkg_mgr == "yum" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
ansible_pkg_mgr == "yum"
- name: install distro or red hat storage ceph mon
dnf:
@ -58,11 +57,10 @@
- ceph
- ceph-mon
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and
(ceph_origin == "distro" or ceph_stable_rh_storage or
(ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
mon_group_name in group_names and
ansible_pkg_mgr == "dnf" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
ansible_pkg_mgr == "dnf"
- name: install distro or red hat storage ceph osd
yum:
@ -72,11 +70,10 @@
- ceph
- ceph-osd
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and
(ceph_origin == "distro" or ceph_stable_rh_storage or
(ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
osd_group_name in group_names and
ansible_pkg_mgr == "yum" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
ansible_pkg_mgr == "yum"
- name: install distro or red hat storage ceph osd
dnf:
@ -86,11 +83,10 @@
- ceph
- ceph-osd
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and
(ceph_origin == "distro" or ceph_stable_rh_storage or
(ceph_stable and ceph_stable_release not in ceph_stable_releases)) and
osd_group_name in group_names and
ansible_pkg_mgr == "dnf" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
ansible_pkg_mgr == "dnf"
- name: install ceph-test
yum: