Fix playbook_dir Ansible Warning
This change removes the jinja found within the conditionals used in our
deploy steps playbook which will resolve an Ansible warning seen when
running a deployment.
Change-Id: Ifa66a0805cba5c5a095731bda5e4f8c31626ed96
Signed-off-by: Kevin Carter <kecarter@redhat.com>
(cherry picked from commit d98d6d1f5c
)
This commit is contained in:
parent
7a991c16c7
commit
03822571b6
|
@ -483,7 +483,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:
|
||||
- "'external_deploy_steps_tasks_step0.yaml' is exists"
|
||||
- playbook_dir ~ '/external_deploy_steps_tasks_step0.yaml' is exists
|
||||
tags:
|
||||
- external
|
||||
- external_deploy_steps
|
||||
|
@ -777,7 +777,7 @@ outputs:
|
|||
include_tasks: {{role.name}}/pre_deploy_step_tasks.yaml
|
||||
when:
|
||||
- tripleo_role_name == '{{role.name}}'
|
||||
- "'{{role.name}}/pre_deploy_step_tasks.yaml' is exists"
|
||||
- playbook_dir ~ '/{{role.name}}/pre_deploy_step_tasks.yaml' is exists
|
||||
{%- endfor %}
|
||||
tags:
|
||||
- overcloud
|
||||
|
@ -811,7 +811,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:
|
||||
- "'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
|
||||
|
@ -871,7 +871,7 @@ outputs:
|
|||
- include_tasks: "{{role.name}}/deploy_steps_tasks_step{{step}}.yaml"
|
||||
when:
|
||||
- tripleo_role_name == '{{role.name}}'
|
||||
- "'{{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:
|
||||
|
|
Loading…
Reference in New Issue