Merge "Use include_tasks instead of import_tasks"
This commit is contained in:
commit
45ff61361a
|
@ -13,6 +13,6 @@
|
|||
copy: src=container_puppet_script.yaml dest=/var/lib/container-puppet/container-puppet.sh force=yes mode=0755 setype=container_file_t
|
||||
|
||||
{%- for role in roles %}
|
||||
- import_tasks: {{role.name}}/deploy_steps_tasks.yaml
|
||||
- include_tasks: {{role.name}}/deploy_steps_tasks.yaml
|
||||
when: tripleo_role_name == '{{role.name}}'
|
||||
{%- endfor %}
|
||||
|
|
|
@ -513,7 +513,7 @@ outputs:
|
|||
docker_puppet_process_count: DOCKER_PUPPET_PROCESS_COUNT
|
||||
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
||||
tasks:
|
||||
- import_tasks: deploy_steps_tasks_step_0.yaml
|
||||
- include_tasks: deploy_steps_tasks_step_0.yaml
|
||||
tags:
|
||||
- overcloud
|
||||
- deploy_steps
|
||||
|
@ -772,7 +772,7 @@ outputs:
|
|||
debug:
|
||||
msg: Use --start-at-task 'Deploy step tasks for {{step}}' to resume from this task
|
||||
{%- for role in roles %}
|
||||
- import_tasks: {{role.name}}/deploy_steps_tasks.yaml
|
||||
- include_tasks: {{role.name}}/deploy_steps_tasks.yaml
|
||||
when: tripleo_role_name == '{{role.name}}'
|
||||
{%- endfor %}
|
||||
tags:
|
||||
|
@ -835,7 +835,7 @@ outputs:
|
|||
stat:
|
||||
path: /var/lib/tripleo-config/container-startup-config-1.json
|
||||
register: container_startup_configs_json_stat
|
||||
- import_tasks: common_deploy_steps_tasks.yaml
|
||||
- include_tasks: common_deploy_steps_tasks.yaml
|
||||
when: (deploy_identifier is defined and deploy_identifier != "" and deploy_identifier is not none) or
|
||||
(container_startup_configs_json_stat is defined and not container_startup_configs_json_stat.stat.exists)
|
||||
tags:
|
||||
|
|
Loading…
Reference in New Issue