Merge "Execute post_update_tasks in update playbook" into stable/queens

This commit is contained in:
Zuul 2018-07-06 01:05:19 +00:00 committed by Gerrit Code Review
commit cc6e877708
1 changed files with 4 additions and 7 deletions

View File

@ -544,6 +544,10 @@ outputs:
with_sequence: start=1 end={{deploy_steps_max-1}}
loop_control:
loop_var: step
- include: post_update_steps_tasks.yaml
with_sequence: start=0 end={{post_update_steps_max-1}}
loop_control:
loop_var: step
pre_upgrade_rolling_steps_tasks: |
{%- for role in roles %}
- include: {{role.name}}/pre_upgrade_rolling_tasks.yaml
@ -682,10 +686,3 @@ outputs:
- include: {{role.name}}/post_update_tasks.yaml
when: role_name == '{{role.name}}'
{%- endfor %}
post_update_steps_playbook: |
- hosts: overcloud
tasks:
- include: post_update_steps_tasks.yaml
with_sequence: start=0 end={{post_update_steps_max-1}}
loop_control:
loop_var: step