2015-10-03 20:19:50 +00:00
|
|
|
---
|
2017-10-23 12:56:03 +00:00
|
|
|
- include: download_prep.yml
|
2017-04-26 12:11:13 +00:00
|
|
|
when:
|
2017-10-19 08:17:11 +00:00
|
|
|
- not skip_downloads|default(false)
|
2015-12-31 15:05:25 +00:00
|
|
|
|
2017-10-19 08:17:11 +00:00
|
|
|
- name: "Download items"
|
|
|
|
include: "download_{% if download.container %}container{% else %}file{% endif %}.yml"
|
|
|
|
vars:
|
|
|
|
download: "{{ download_defaults | combine(item.value) }}"
|
|
|
|
with_dict: "{{ downloads }}"
|
2017-04-26 12:11:13 +00:00
|
|
|
when:
|
2017-10-19 08:17:11 +00:00
|
|
|
- not skip_downloads|default(false)
|
2017-10-24 19:49:36 +00:00
|
|
|
- item.value.enabled
|
2015-12-31 15:05:25 +00:00
|
|
|
|
2017-10-19 08:17:11 +00:00
|
|
|
- name: "Sync container"
|
|
|
|
include: sync_container.yml
|
|
|
|
vars:
|
|
|
|
download: "{{ download_defaults | combine(item.value) }}"
|
|
|
|
with_dict: "{{ downloads }}"
|
2017-04-26 12:11:13 +00:00
|
|
|
when:
|
2017-10-19 08:17:11 +00:00
|
|
|
- not skip_downloads|default(false)
|
2017-10-24 19:49:36 +00:00
|
|
|
- item.value.enabled
|
|
|
|
- item.value.container
|
2017-10-19 08:17:11 +00:00
|
|
|
- download_run_once
|