You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
650 B

9 years ago
  1. ---
  2. - include: download_prep.yml
  3. when:
  4. - not skip_downloads|default(false)
  5. - name: "Download items"
  6. include: "download_{% if download.container %}container{% else %}file{% endif %}.yml"
  7. vars:
  8. download: "{{ download_defaults | combine(item.value) }}"
  9. with_dict: "{{ downloads }}"
  10. when:
  11. - not skip_downloads|default(false)
  12. - item.value.enabled
  13. - name: "Sync container"
  14. include: sync_container.yml
  15. vars:
  16. download: "{{ download_defaults | combine(item.value) }}"
  17. with_dict: "{{ downloads }}"
  18. when:
  19. - not skip_downloads|default(false)
  20. - item.value.enabled
  21. - item.value.container
  22. - download_run_once