Start sequence at 1 for deploy steps playbook
We should start the sequence at 1 instead of 0, since all our puppet manifests assume the first step is 1. Trying to run our puppet manifests with a hieradata value of step=0 actually results in an error because no classes are included. Change-Id: I93dc8b4cefbd729ba7afa3a4d81b4ac95344cac2 Closes-Bug: #1717292
This commit is contained in:
parent
4c7ecb8e84
commit
320f80dbae
@ -331,7 +331,7 @@ outputs:
|
||||
when: role_name == '{{role.name}}'
|
||||
{%- endfor %}
|
||||
- include: deploy_steps_tasks.yaml
|
||||
with_sequence: start=0 end={{deploy_steps_max-1}}
|
||||
with_sequence: count={{deploy_steps_max-1}}
|
||||
loop_control:
|
||||
loop_var: step
|
||||
update_steps_tasks: |
|
||||
@ -344,11 +344,11 @@ outputs:
|
||||
serial: 1
|
||||
tasks:
|
||||
- include: update_steps_tasks.yaml
|
||||
with_sequence: start=0 end={{update_steps_max-1}}
|
||||
with_sequence: start=1 end={{update_steps_max-1}}
|
||||
loop_control:
|
||||
loop_var: step
|
||||
- include: deploy_steps_tasks.yaml
|
||||
with_sequence: start=0 end={{deploy_steps_max-1}}
|
||||
with_sequence: start=1 end={{deploy_steps_max-1}}
|
||||
loop_control:
|
||||
loop_var: step
|
||||
upgrade_steps_tasks: |
|
||||
@ -360,6 +360,6 @@ outputs:
|
||||
- hosts: overcloud
|
||||
tasks:
|
||||
- include: upgrade_steps_tasks.yaml
|
||||
with_sequence: start=0 end={{upgrade_steps_max-1}}
|
||||
with_sequence: start=1 end={{upgrade_steps_max-1}}
|
||||
loop_control:
|
||||
loop_var: step
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- Start sequence at 1 for the downloaded deploy steps playbook instead of 0.
|
||||
The first step should be 1 since that is what the puppet manifests expect.
|
Loading…
Reference in New Issue
Block a user