Merge "Specify the start count to 0 for the update step loop"

This commit is contained in:
Jenkins 2017-08-24 10:42:38 +00:00 committed by Gerrit Code Review
commit 20b2015624
1 changed files with 5 additions and 5 deletions

View File

@ -318,7 +318,7 @@ outputs:
when: role_name == '{{role.name}}'
{%- endfor %}
- include: deploy_steps_tasks.yaml
with_sequence: count={{deploy_steps_max-1}}
with_sequence: start=0 end={{deploy_steps_max-1}}
loop_control:
loop_var: step
update_steps_tasks: |
@ -331,11 +331,11 @@ outputs:
serial: 1
tasks:
- include: update_steps_tasks.yaml
with_sequence: count={{update_steps_max-1}}
with_sequence: start=0 end={{update_steps_max-1}}
loop_control:
loop_var: step
- include: deploy_steps_tasks.yaml
with_sequence: count={{deploy_steps_max-1}}
with_sequence: start=0 end={{deploy_steps_max-1}}
loop_control:
loop_var: step
upgrade_steps_tasks: |
@ -347,11 +347,11 @@ outputs:
- hosts: overcloud
tasks:
- include: upgrade_steps_tasks.yaml
with_sequence: count={{upgrade_steps_max-1}}
with_sequence: start=0 end={{upgrade_steps_max-1}}
loop_control:
loop_var: step
- include: deploy_steps_tasks.yaml
with_sequence: count={{deploy_steps_max-1}}
with_sequence: start=0 end={{deploy_steps_max-1}}
loop_control:
loop_var: step