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>
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
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"