ceph-common: fix ceph install for centos distros

closes: #616

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/627/head
Sébastien Han 2016-03-15 16:35:29 +01:00
parent 3cec4bb20b
commit 1764b5337f
1 changed files with 12 additions and 4 deletions

View File

@ -46,7 +46,9 @@
when: when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and (ceph_origin == "distro" or ceph_stable_rh_storage) and
mon_group_name in group_names and mon_group_name in group_names and
ansible_pkg_mgr == "yum" ansible_pkg_mgr == "yum" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
- name: install distro or red hat storage ceph mon - name: install distro or red hat storage ceph mon
dnf: dnf:
@ -58,7 +60,9 @@
when: when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and (ceph_origin == "distro" or ceph_stable_rh_storage) and
mon_group_name in group_names and mon_group_name in group_names and
ansible_pkg_mgr == "dnf" ansible_pkg_mgr == "dnf" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
- name: install distro or red hat storage ceph osd - name: install distro or red hat storage ceph osd
yum: yum:
@ -70,7 +74,9 @@
when: when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and (ceph_origin == "distro" or ceph_stable_rh_storage) and
osd_group_name in group_names and osd_group_name in group_names and
ansible_pkg_mgr == "yum" ansible_pkg_mgr == "yum" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
- name: install distro or red hat storage ceph osd - name: install distro or red hat storage ceph osd
dnf: dnf:
@ -82,7 +88,9 @@
when: when:
(ceph_origin == "distro" or ceph_stable_rh_storage) and (ceph_origin == "distro" or ceph_stable_rh_storage) and
osd_group_name in group_names and osd_group_name in group_names and
ansible_pkg_mgr == "dnf" ansible_pkg_mgr == "dnf" and
ceph_stable and
ceph_stable_release not in ceph_stable_releases
- name: install ceph-test - name: install ceph-test
yum: yum: