From 6513cdb313eddd1dba455d45f0fdf85553d24e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 2 May 2016 14:18:33 +0200 Subject: [PATCH] ceph-common: install ceph-mon/osd for ceph dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since developement versions of Ceph are after infernalis a package split happened. So basically ceph-mon, ceph-osd, ceph-mds need to be installed. Signed-off-by: Sébastien Han --- roles/ceph-common/tasks/installs/install_on_redhat.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/ceph-common/tasks/installs/install_on_redhat.yml b/roles/ceph-common/tasks/installs/install_on_redhat.yml index d832f9ea3..b76a24d0f 100644 --- a/roles/ceph-common/tasks/installs/install_on_redhat.yml +++ b/roles/ceph-common/tasks/installs/install_on_redhat.yml @@ -41,7 +41,7 @@ name: "ceph-mon" state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: - (ceph_origin == "distro" or ceph_stable_rh_storage or + (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and mon_group_name in group_names and ansible_pkg_mgr == "yum" @@ -51,7 +51,7 @@ name: "ceph-mon" state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: - (ceph_origin == "distro" or ceph_stable_rh_storage or + (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and mon_group_name in group_names and ansible_pkg_mgr == "dnf" @@ -61,7 +61,7 @@ name: "ceph-osd" state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: - (ceph_origin == "distro" or ceph_stable_rh_storage or + (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and osd_group_name in group_names and ansible_pkg_mgr == "yum" @@ -71,7 +71,7 @@ name: "ceph-osd" state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: - (ceph_origin == "distro" or ceph_stable_rh_storage or + (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and osd_group_name in group_names and ansible_pkg_mgr == "dnf"