Merge "Fix playbook_dir Ansible Warning"

This commit is contained in:
Zuul 2021-07-15 16:13:21 +00:00 committed by Gerrit Code Review
commit 5ba7f0817e

View File

@ -476,7 +476,7 @@ outputs:
msg: Use --start-at-task 'External deployment step 0' to resume from this task
- include_tasks: "external_deploy_steps_tasks_step0.yaml"
when:
- "'{% raw %}{{playbook_dir}}{% endraw %}/external_deploy_steps_tasks_step0.yaml' is exists"
- playbook_dir ~ '/external_deploy_steps_tasks_step0.yaml' is exists
tags:
- external
- external_deploy_steps
@ -790,7 +790,7 @@ outputs:
include_tasks: {{role.name}}/pre_deploy_step_tasks.yaml
when:
- tripleo_role_name == '{{role.name}}'
- "'{% raw %}{{playbook_dir}}{% endraw %}/{{role.name}}/pre_deploy_step_tasks.yaml' is exists"
- playbook_dir ~ '/{{role.name}}/pre_deploy_step_tasks.yaml' is exists
{%- endfor %}
tags:
- overcloud
@ -825,7 +825,7 @@ outputs:
msg: Use --start-at-task 'External deployment step {{step}}' to resume from this task
- include_tasks: "external_deploy_steps_tasks_step{{step}}.yaml"
when:
- "'{% raw %}{{playbook_dir}}{% endraw %}/external_deploy_steps_tasks_step{{step}}.yaml' is exists"
- playbook_dir ~ '/external_deploy_steps_tasks_step{{step}}.yaml' is exists
tags:
- external
- external_deploy_steps
@ -885,7 +885,7 @@ outputs:
- include_tasks: "{{role.name}}/deploy_steps_tasks_step{{step}}.yaml"
when:
- tripleo_role_name == '{{role.name}}'
- "'{% raw %}{{playbook_dir}}{% endraw %}/{{role.name}}/deploy_steps_tasks_step{{step}}.yaml' is exists"
- playbook_dir ~ '/{{role.name}}/deploy_steps_tasks_step{{step}}.yaml' is exists
{%- endfor %}
- name: Overcloud common deploy step tasks {{step}}
block: