mirror of https://github.com/ceph/ceph-ansible.git
ceph-mgr: Add extra module packages
Since Nautilus there's mgr extra modules not present in ceph-mgr
package but in dedicated packages.
Resolves: #3860
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 86315272c7
)
pull/3892/head
parent
35afd6a63a
commit
2d3c636fa8
|
@ -24,6 +24,15 @@ dummy:
|
|||
# and replace CEPH_VERSION with your current Ceph version, e,g: 'mimic'
|
||||
#ceph_mgr_modules: []
|
||||
|
||||
############
|
||||
# PACKAGES #
|
||||
############
|
||||
# Ceph mgr packages to install, ceph-mgr + extra module packages.
|
||||
#ceph_mgr_packages:
|
||||
# - ceph-mgr
|
||||
# - ceph-mgr-dashboard
|
||||
# - ceph-mgr-diskprediction-local
|
||||
|
||||
|
||||
##########
|
||||
# DOCKER #
|
||||
|
|
|
@ -16,6 +16,15 @@ copy_admin_key: false
|
|||
# and replace CEPH_VERSION with your current Ceph version, e,g: 'mimic'
|
||||
ceph_mgr_modules: []
|
||||
|
||||
############
|
||||
# PACKAGES #
|
||||
############
|
||||
# Ceph mgr packages to install, ceph-mgr + extra module packages.
|
||||
ceph_mgr_packages:
|
||||
- ceph-mgr
|
||||
- ceph-mgr-dashboard
|
||||
- ceph-mgr-diskprediction-local
|
||||
|
||||
|
||||
##########
|
||||
# DOCKER #
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
---
|
||||
- name: install ceph-mgr package on RedHat or SUSE
|
||||
- name: install ceph-mgr packages on RedHat or SUSE
|
||||
package:
|
||||
name: ceph-mgr
|
||||
name: '{{ ceph_mgr_packages }}'
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
register: result
|
||||
until: result is succeeded
|
||||
when:
|
||||
- ansible_os_family in ['RedHat', 'Suse']
|
||||
|
||||
- name: install ceph mgr for debian
|
||||
- name: install ceph-mgr packages for debian
|
||||
apt:
|
||||
name: ceph-mgr
|
||||
name: '{{ ceph_mgr_packages }}'
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
default_release: "{{ ceph_stable_release_uca | default('') if ceph_origin == 'repository' and ceph_repository == 'uca' else ''}}{{ ansible_distribution_release ~ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else '' }}"
|
||||
register: result
|
||||
|
|
Loading…
Reference in New Issue