mirror of https://github.com/ceph/ceph-ansible.git
Common: Do not install ceph-mgr packages on jewel
ceph-mgr tasks has to be skipped on jewel. Fix: #1494 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/1499/head
parent
5b24de6529
commit
48bd807508
|
@ -62,4 +62,6 @@
|
|||
pkg: ceph-mgr
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
default_release: "{{ ceph_stable_release_uca | default(ansible_distribution_release) }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}"
|
||||
when: mgr_group_name in group_names
|
||||
when:
|
||||
- mgr_group_name in group_names
|
||||
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
|
||||
|
|
|
@ -147,4 +147,6 @@
|
|||
package:
|
||||
name: ceph-mgr
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
when: mgr_group_name in group_names
|
||||
when:
|
||||
- mgr_group_name in group_names
|
||||
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
|
||||
|
|
|
@ -95,4 +95,6 @@
|
|||
apt:
|
||||
pkg: ceph-mgr
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
when: mgr_group_name in group_names
|
||||
when:
|
||||
- mgr_group_name in group_names
|
||||
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
|
||||
|
|
|
@ -75,4 +75,6 @@
|
|||
package:
|
||||
name: ceph-mgr
|
||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||
when: mgr_group_name in group_names
|
||||
when:
|
||||
- mgr_group_name in group_names
|
||||
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
- cephx
|
||||
- groups.get(mgr_group_name, []) | length > 0
|
||||
- inventory_hostname == groups[mon_group_name]|last
|
||||
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
|
||||
with_items: "{{ groups.get(mgr_group_name, []) }}"
|
||||
|
||||
- include: set_osd_pool_default_pg_num.yml
|
||||
|
|
|
@ -125,3 +125,4 @@
|
|||
- item.stat.exists == true
|
||||
when:
|
||||
- inventory_hostname == groups[mon_group_name]|last
|
||||
- ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel
|
||||
|
|
|
@ -55,4 +55,4 @@
|
|||
- hosts: mgrs
|
||||
become: True
|
||||
roles:
|
||||
- ceph-mgr
|
||||
- { role: ceph-mgr, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
|
||||
|
|
|
@ -103,4 +103,4 @@
|
|||
gather_facts: false
|
||||
become: True
|
||||
roles:
|
||||
- ceph-mgr
|
||||
- { role: ceph-mgr, when: "ceph_release_num.{{ ceph_stable_release }} > ceph_release_num.jewel" }
|
||||
|
|
Loading…
Reference in New Issue