dec003def8
This converts "tags: stepN" to "when: step|int == N" for the direct
execution as an ansible playbook, with a loop variable 'step'.
The tasks all include the explicit cast |int.
This also adds a set_fact task for handling of the package removal
with the UpgradeRemovePackages parameter (no change to the interface)
The yaml-validate also now checks for duplicate 'when:' statements
Q upgrade spec @ Ibde21e6efae3a7d311bee526d63c5692c4e27b28
Related Blueprint: major-upgrade-workflow
[0]: 394a92f761/tripleo_common/utils/config.py (L141)
Change-Id: I6adc5619a28099f4e241351b63377f1e96933810
10 lines
438 B
YAML
10 lines
438 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
Since we are now running the ansible-playbooks with a step variable
|
|
rather than via Heat SoftwareConfig/Deployments, the per service
|
|
upgrade_tasks need to use "when: step|int == [0-6]" rather than
|
|
"tags: step[0-6]" to signal the step at which the given task is to be
|
|
invoked. This also applies to the update_tasks that are used for the
|
|
minor update. This also deprecates the upgrade_batch_tasks
|