mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-24 09:07:47 -02:30
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
@@ -13,6 +13,7 @@
|
||||
when:
|
||||
- download.enabled
|
||||
- download.file
|
||||
- group_names | intersect(download.groups) | length
|
||||
|
||||
- name: file_download | Download item
|
||||
get_url:
|
||||
@@ -28,6 +29,7 @@
|
||||
when:
|
||||
- download.enabled
|
||||
- download.file
|
||||
- group_names | intersect(download.groups) | length
|
||||
|
||||
- name: file_download | Extract archives
|
||||
unarchive:
|
||||
@@ -40,3 +42,4 @@
|
||||
- download.enabled
|
||||
- download.file
|
||||
- download.unarchive|default(False)
|
||||
- group_names | intersect(download.groups) | length
|
||||
|
||||
Reference in New Issue
Block a user