aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMathieu Bultel <mbultel@redhat.com>2017-08-22 22:14:56 +0200
committermathieu bultel <mat.bultel@gmail.com>2017-08-23 08:25:57 +0000
commitd9d8314d26c078c48459652f477e89246cf9edef (patch)
tree04b8e247c4db9a97fa7652bdcb41eb0d5120f67b /common
parent8c82dd1042aa543a91d066245e82928072a96687 (diff)
Specify the start count to 0 for the update step loop
Force the count start to 0 to ensure that the update step loop will start to 0 and execute the update step0 Closes-Bug: #1712498 Change-Id: I71be55c1f56e53e5c565bec281795d63e5845ff6
Diffstat (limited to 'common')
-rw-r--r--common/deploy-steps.j210
1 files changed, 5 insertions, 5 deletions
diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2
index 8d17c223..db2b21c1 100644
--- a/common/deploy-steps.j2
+++ b/common/deploy-steps.j2
@@ -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