Do not delegate to omit
delegate_to should never delegate to omit, as omit is only
intended for task argument's values.
More explanations of the reasons can be found in the bug.
Change-Id: Ief2fecbc266adcc816336b601253d3e90c39c32b
Closes-Bug: #1763300
(cherry picked from commit f451c1a3e2
)
This commit is contained in:
parent
a2d58a02ed
commit
f73b0dbebf
|
@ -40,7 +40,7 @@
|
|||
until: fetch_url | success
|
||||
retries: 6
|
||||
delay: 5
|
||||
delegate_to: "{{ (tempest_image_downloader == 'deployment-host') | ternary('localhost', omit) }}"
|
||||
delegate_to: "{{ (tempest_image_downloader == 'deployment-host') | ternary('localhost', inventory_hostname) }}"
|
||||
|
||||
- name: Copy download images from deployment-host to target-host
|
||||
copy:
|
||||
|
|
Loading…
Reference in New Issue