Merge "Parallelize server pre and post steps"

This commit is contained in:
Zuul 2018-08-21 19:03:14 +00:00 committed by Gerrit Code Review
commit 06c4507550

View File

@ -480,13 +480,10 @@ outputs:
gather_facts: no
any_errors_fatal: yes
tasks:
{%- for role in roles %}
- include_tasks: {{role.name}}/deployments.yaml
- include_tasks: deployments.yaml
vars:
force: false
when: tripleo_role_name == '{{role.name}}'
with_items: "{{ '{{' }} {{role.name}}_pre_deployments|default([]) {{ '}}' }}"
{%- endfor %}
with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_pre_deployments')|default([]) {{ '}}' }}"
tags:
- overcloud
- pre_deploy_steps
@ -564,13 +561,10 @@ outputs:
gather_facts: no
any_errors_fatal: yes
tasks:
{%- for role in roles %}
- include_tasks: {{role.name}}/deployments.yaml
- include_tasks: deployments.yaml
vars:
force: false
when: tripleo_role_name == '{{role.name}}'
with_items: "{{ '{{' }} {{role.name}}_post_deployments|default([]) {{ '}}' }}"
{%- endfor %}
with_items: "{{ '{{' }} lookup('vars', tripleo_role_name + '_post_deployments')|default([]) {{ '}}' }}"
tags:
- overcloud
- post_deploy_steps