]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: install ceph-common on all the machines 2208/head
authorSébastien Han <seb@redhat.com>
Wed, 22 Nov 2017 16:11:50 +0000 (17:11 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 22 Nov 2017 16:45:56 +0000 (17:45 +0100)
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 <seb@redhat.com>
(cherry picked from commit bb7b29a9fcc33e7316bbe7dad3dc3cd5395ef8ab)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-common/tasks/installs/install_debian_rhcs_packages.yml

index 69bcf18eedb1ece49032051d0cd958ad60e7f47e..410eeb6aa31b0c214c0fc69ed3c4d541c6a41c07 100644 (file)
@@ -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
     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