From bb7b29a9fcc33e7316bbe7dad3dc3cd5395ef8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 22 Nov 2017 17:11:50 +0100 Subject: [PATCH] common: install ceph-common on all the machines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since some daemons now install their own packages the task checking the ceph version fails on Debian systems. So the 'ceph-common' package must be installed on all the machines. Signed-off-by: Sébastien Han --- .../tasks/installs/install_debian_rhcs_packages.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/roles/ceph-common/tasks/installs/install_debian_rhcs_packages.yml b/roles/ceph-common/tasks/installs/install_debian_rhcs_packages.yml index 69bcf18ee..410eeb6aa 100644 --- a/roles/ceph-common/tasks/installs/install_debian_rhcs_packages.yml +++ b/roles/ceph-common/tasks/installs/install_debian_rhcs_packages.yml @@ -1,4 +1,9 @@ --- +- name: install red hat storage ceph-common for debian + apt: + pkg: ceph-common + state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" + - name: install red hat storage ceph mon for debian apt: name: ceph-mon @@ -33,10 +38,3 @@ state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: - client_group_name in group_names - -- name: install red hat storage ceph-common for debian - apt: - pkg: ceph-common - state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" - when: - - client_group_name in group_names