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 73043121e3)
This commit is contained in:
Alex Schultz 2021-02-22 07:07:55 -07:00
parent a57f8af41f
commit 67ad3daa21
1 changed files with 1 additions and 1 deletions

View File

@ -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