Merge "Stop using a conditional for role tasks" into stable/train
This commit is contained in:
commit
e9bd0ede56
|
@ -740,12 +740,10 @@ outputs:
|
||||||
debug:
|
debug:
|
||||||
msg: Use --start-at-task "Overcloud deploy step tasks for {{step}}" to resume from this task
|
msg: Use --start-at-task "Overcloud deploy step tasks for {{step}}" to resume from this task
|
||||||
{%- for role in roles %}
|
{%- for role in roles %}
|
||||||
- include_tasks: "{% raw %}{{ _task_file_path }}{% endraw %}"
|
- include_tasks: "{{role.name}}/deploy_steps_tasks_step{{step}}.yaml"
|
||||||
vars:
|
|
||||||
_task_file_path: "{{role.name}}/deploy_steps_tasks_step{{step}}.yaml"
|
|
||||||
when:
|
when:
|
||||||
- tripleo_role_name == '{{role.name}}'
|
- tripleo_role_name == '{{role.name}}'
|
||||||
- "{% raw %}'{{ playbook_dir }}/{{ _task_file_path }}' is exists{% endraw %}"
|
- "'{{role.name}}/deploy_steps_tasks_step{{step}}.yaml' is exists"
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% if step == 1 %}
|
{% if step == 1 %}
|
||||||
- name: Overcloud common bootstrap tasks for step 1
|
- name: Overcloud common bootstrap tasks for step 1
|
||||||
|
|
Loading…
Reference in New Issue