Browse Source

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)
changes/40/777240/5
Alex Schultz 5 months ago
parent
commit
6997676b1e
  1. 2
      common/deploy-steps.j2

2
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

Loading…
Cancel
Save