diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-08-24 10:42:38 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-08-24 10:42:38 +0000 |
commit | 20b20156242045513c65acd15badb923f0232ac5 (patch) | |
tree | d7486ac09ccfd6e645608b1c8e545fc7cf5a9921 | |
parent | c9c4d7e8cddd0f517de22167dbf326ad3dcdea3a (diff) | |
parent | d9d8314d26c078c48459652f477e89246cf9edef (diff) |
Merge "Specify the start count to 0 for the update step loop"
-rw-r--r-- | common/deploy-steps.j2 | 10 |
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 |