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 <gabrioux@redhat.com>
pull/1762/head
Guillaume Abrioux 2017-08-12 17:41:44 +02:00
parent 980c324be0
commit e0e9bb33b1
2 changed files with 10 additions and 0 deletions

View File

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

View File

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