Merge "Use conditions with Host prep block tasks" into stable/wallaby
This commit is contained in:
commit
bd71b7dbf1
|
@ -686,15 +686,18 @@ outputs:
|
|||
{% endraw %}
|
||||
{%- for role in roles %}
|
||||
- name: {{role.name}} Host prep block
|
||||
when:
|
||||
- tripleo_role_name == '{{role.name}}'
|
||||
block:
|
||||
- name: {{role.name}} Host prep steps
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
debug:
|
||||
msg: Use --start-at-task '{{role.name}} Host prep steps' to resume from this task
|
||||
- include_tasks: {{role.name}}/host_prep_tasks.yaml
|
||||
when:
|
||||
- tripleo_role_name == '{{role.name}}'
|
||||
- name: {{role.name}} Host prep tasks
|
||||
include_tasks: {{role.name}}/host_prep_tasks.yaml
|
||||
when:
|
||||
- tripleo_role_name == '{{role.name}}'
|
||||
{%- endfor %}
|
||||
tags:
|
||||
- overcloud
|
||||
|
|
Loading…
Reference in New Issue