From 73043121e3e05d7ab67503752165da53431a9b34 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 --- 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 f32cb3c07f..a745a52c06 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -639,7 +639,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