Merge "Parallelize server pre and post steps" into stable/queens

This commit is contained in:
Zuul 2019-08-31 00:50:27 +00:00 committed by Gerrit Code Review
commit 9f7d0c2a2b
1 changed files with 4 additions and 10 deletions

View File

@ -430,13 +430,10 @@ outputs:
gather_facts: no
any_errors_fatal: yes
tasks:
{%- for role in roles %}
- include: {{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
@ -522,13 +519,10 @@ outputs:
gather_facts: no
any_errors_fatal: yes
tasks:
{%- for role in roles %}
- include: {{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