mirror of https://github.com/ceph/ceph-ansible.git
rolling update: add mgr exception for jewel minor updates
When update from a minor Jewel version to another, the playbook will fail on the task "fail if no mgr host is present in the inventory". This now can be worked around by running Ansible with_items -e jewel_minor_update=true Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1535382 Signed-off-by: Sébastien Han <seb@redhat.com>pull/2333/head
parent
55298fa80c
commit
8af7459476
|
@ -19,6 +19,7 @@
|
||||||
become: false
|
become: false
|
||||||
vars:
|
vars:
|
||||||
- mgr_group_name: mgrs
|
- mgr_group_name: mgrs
|
||||||
|
- jewel_minor_update: False
|
||||||
|
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: ireallymeanit
|
- name: ireallymeanit
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
fail:
|
fail:
|
||||||
msg: "Please add a mgr host to your inventory."
|
msg: "Please add a mgr host to your inventory."
|
||||||
when:
|
when:
|
||||||
|
- not jewel_minor_update
|
||||||
- groups.get(mgr_group_name, []) | length == 0
|
- groups.get(mgr_group_name, []) | length == 0
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue