From 6997676b1eedefe8ccc832afa735659fd06f8135 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Mon, 22 Feb 2021 07:07:55 -0700 Subject: [PATCH] Use include task for host prep tasks Import tasks causes the tasks always to be pulled in and just skipped at run time. This is terribly slow with more roles even when not running against those hosts. A similar effort was applied to the update process I2eab008ca27546acbd2b1275f07bcca0b84b858c which should also be used here. Change-Id: Ibd9bb9f8a4c6a7ce3c6ebd11ce5cf444dde57c33 Related-Bug: #1915761 (cherry picked from commit 73043121e3e05d7ab67503752165da53431a9b34) --- common/deploy-steps.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index a95d013562..836c66273c 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -621,7 +621,7 @@ outputs: run_once: true debug: msg: Use --start-at-task '{{role.name}} Host prep steps' to resume from this task - - import_tasks: {{role.name}}/host_prep_tasks.yaml + - include_tasks: {{role.name}}/host_prep_tasks.yaml {%- endfor %} tags: - overcloud