mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-15 22:34:21 +03:00
Only download container/file if host is in defined group (#2565)
* Only download container/file if host is in defined group * Set correct when clause * Fix last entries * Update download groups
This commit is contained in:
committed by
Chad Swenson
parent
0ca08e03af
commit
2c89a02db3
@@ -7,6 +7,7 @@
|
||||
when:
|
||||
- download.enabled
|
||||
- download.container
|
||||
- group_names | intersect(download.groups) | length
|
||||
tags:
|
||||
- facts
|
||||
|
||||
@@ -23,6 +24,7 @@
|
||||
- download.enabled
|
||||
- download.container
|
||||
- pull_required|default(download_always_pull)
|
||||
- group_names | intersect(download.groups) | length
|
||||
delegate_to: "{{ download_delegate }}"
|
||||
delegate_facts: yes
|
||||
run_once: yes
|
||||
@@ -38,3 +40,4 @@
|
||||
- download.enabled
|
||||
- download.container
|
||||
- pull_required|default(download_always_pull)
|
||||
- group_names | intersect(download.groups) | length
|
||||
|
||||
Reference in New Issue
Block a user