Merge "Adds ceph-systemd tag in external_upgrade_tasks for systemd units" into stable/stein
This commit is contained in:
commit
8dfef73063
|
@ -710,6 +710,7 @@ outputs:
|
|||
- '{{playbook_dir}}/ceph-ansible/inventory.yml'
|
||||
- '--extra-vars'
|
||||
- '@{{playbook_dir}}/ceph-ansible/extra_vars.yml'
|
||||
- '{% if ceph_ansible_limit is defined and ceph_ansible_limit|length > 0 %}--limit {{ ceph_ansible_limit }}{% endif %}'
|
||||
- name: run ceph-ansible (immediate log at {{playbook_dir}}/ceph-ansible/ceph_ansible_command.log)
|
||||
# needs become to be able to read the ssh private key
|
||||
become: true
|
||||
|
@ -784,6 +785,16 @@ outputs:
|
|||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"]
|
||||
external_upgrade_tasks:
|
||||
- when: step|int == 0
|
||||
tags: ceph-systemd
|
||||
block:
|
||||
- name: stop if _limit is unset
|
||||
fail:
|
||||
msg: The ceph-ansible systemd units migration playbook limit is not set; please use -e ceph_ansible_limit=##nodename##
|
||||
when: (ceph_ansible_limit is not defined) or (ceph_ansible_limit|length == 0)
|
||||
- name: set ceph_ansible_playbooks_default
|
||||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/docker-to-podman.yml"]
|
||||
- when: step|int == 0
|
||||
tags: ceph
|
||||
block:
|
||||
|
|
Loading…
Reference in New Issue