diff --git a/common/deploy-steps-tasks-step-0.j2.yaml b/common/deploy-steps-tasks-step-0.j2.yaml index fa69689204..1f78d9a043 100644 --- a/common/deploy-steps-tasks-step-0.j2.yaml +++ b/common/deploy-steps-tasks-step-0.j2.yaml @@ -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 %} diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index 4043677c5f..5948358bd6 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -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: