Merge "Adds ceph-systemd tag in external_upgrade_tasks for systemd units" into stable/train

This commit is contained in:
Zuul 2019-11-11 14:27:07 +00:00 committed by Gerrit Code Review
commit 6c4c0c89cd
1 changed files with 10 additions and 0 deletions

View File

@ -604,6 +604,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: