From: Guillaume Abrioux Date: Sat, 12 Aug 2017 15:41:44 +0000 (+0200) Subject: common: install ceph-common on all nodes X-Git-Tag: v3.0.0rc4~36^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e0e9bb33b1a11c8d4046b01276dcfcbe1c93e6f1;p=ceph-ansible.git common: install ceph-common on all nodes 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 --- diff --git a/roles/ceph-common/tasks/installs/install_on_debian.yml b/roles/ceph-common/tasks/installs/install_on_debian.yml index 54b1ef2f4..00f5eb6ee 100644 --- a/roles/ceph-common/tasks/installs/install_on_debian.yml +++ b/roles/ceph-common/tasks/installs/install_on_debian.yml @@ -29,6 +29,11 @@ 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 diff --git a/roles/ceph-common/tasks/installs/install_on_redhat.yml b/roles/ceph-common/tasks/installs/install_on_redhat.yml index e6129f845..55b0bd4af 100644 --- a/roles/ceph-common/tasks/installs/install_on_redhat.yml +++ b/roles/ceph-common/tasks/installs/install_on_redhat.yml @@ -75,6 +75,11 @@ 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"