Merge pull request #627 from ceph/fix-ceph-install

ceph-common: fix ceph install for centos distros
pull/637/head
Leseb 2016-03-18 14:02:22 +01:00
commit db746e03cb
1 changed files with 12 additions and 4 deletions

View File

@ -46,7 +46,9 @@
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) 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
dnf:
@ -58,7 +60,9 @@
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) 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
yum:
@ -70,7 +74,9 @@
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) 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
dnf:
@ -82,7 +88,9 @@
when:
(ceph_origin == "distro" or ceph_stable_rh_storage) 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
yum: