]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: install ceph-common on all nodes 1762/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Sat, 12 Aug 2017 15:41:44 +0000 (17:41 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 17 Aug 2017 12:44:38 +0000 (14:44 +0200)
This commits force ceph-common to be installed early in deployment on
nodes.

For instance, ceph-rbdmirror doesn't have the CLI installed while it is
needed for some tasks which uses it to set some facts.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-common/tasks/installs/install_on_debian.yml
roles/ceph-common/tasks/installs/install_on_redhat.yml

index 54b1ef2f40edaf33a29f13c1eedbe0a85818634c..00f5eb6ee788b6e2d19e53dde1e485bce2ceb6e8 100644 (file)
     default_release: "{{ ceph_stable_release_uca | default(ansible_distribution_release) }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}"
   when: ceph_test
 
+- name: install ceph-common
+  package:
+    name: 'ceph-common'
+    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
+
 - name: install rados gateway
   apt:
     pkg: radosgw
index e6129f845499f87eae4c3eaa1613c6f924c7ef97..55b0bd4afba34973871140252f8176a716b17dbc 100644 (file)
   when:
     - ceph_origin == 'local'
 
+- name: install ceph-common
+  package:
+    name: 'ceph-common'
+    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
+
 - name: install distro or red hat storage ceph mon
   package:
     name: "ceph-mon"