mirror of https://github.com/ceph/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 <gabrioux@redhat.com>pull/1762/head
parent
980c324be0
commit
e0e9bb33b1
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue