Start step at 0 for update_ + upgrade_steps_playbook

In I93dc8b4cefbd729ba7afa3a4d81b4ac95344cac2 for bug 1717292 the
step variable passed into the update_steps_playbook and the
upgrade_steps_playbook outputs is set to start at sequence 1. This
means that any upgrade or update_tasks that are expected to run in
step 0 will never be executed.

Change-Id: Ic2dab617269d47c4ea028cb35cdba2068a467ff9
Closes-Bug: 1741926
This commit is contained in:
marios 2018-01-08 18:12:56 +02:00 committed by Marios Andreou
parent 7e148af75f
commit 0c76a2acbf
1 changed files with 2 additions and 2 deletions

View File

@ -513,7 +513,7 @@ outputs:
serial: 1
tasks:
- include: update_steps_tasks.yaml
with_sequence: start=1 end={{update_steps_max-1}}
with_sequence: start=0 end={{update_steps_max-1}}
loop_control:
loop_var: step
- include: deploy_steps_tasks.yaml
@ -529,6 +529,6 @@ outputs:
- hosts: overcloud
tasks:
- include: upgrade_steps_tasks.yaml
with_sequence: start=1 end={{upgrade_steps_max-1}}
with_sequence: start=0 end={{upgrade_steps_max-1}}
loop_control:
loop_var: step