Add 'never' to the tags set for the Ceph systemd units migration task

The systemd units migration should only happen once, when explicitly
called by tripleoclient using --tags ceph_systemd

Also renames the old ceph-systemd tag into ceph_systemd tag for
consistency and to prevent issues when passing the tag name as argument
from the command line.

Change-Id: I9387885a57f8532b414485bc2919eb33aeadf52b
Closes-Bug: 1859009
(cherry picked from commit 49c8f9d48c)
This commit is contained in:
Giulio Fidente 2020-01-09 12:45:30 +01:00
parent cf467ead1b
commit 422074e451
1 changed files with 3 additions and 1 deletions

View File

@ -808,7 +808,9 @@ outputs:
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"] ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"]
external_upgrade_tasks: external_upgrade_tasks:
- when: step|int == 0 - when: step|int == 0
tags: ceph-systemd tags:
- never
- ceph_systemd
block: block:
- name: stop if _limit is unset - name: stop if _limit is unset
fail: fail: