Browse Source

Access dict item's value keys using .value (#1865)

pull/1869/head
Flavio Percoco Premoli 7 years ago
committed by Matthew Mosesohn
parent
commit
5b08277ce4
1 changed files with 3 additions and 3 deletions
  1. 6
      roles/download/tasks/main.yml

6
roles/download/tasks/main.yml

@ -10,7 +10,7 @@
with_dict: "{{ downloads }}" with_dict: "{{ downloads }}"
when: when:
- not skip_downloads|default(false) - not skip_downloads|default(false)
- item.enabled
- item.value.enabled
- name: "Sync container" - name: "Sync container"
include: sync_container.yml include: sync_container.yml
@ -19,6 +19,6 @@
with_dict: "{{ downloads }}" with_dict: "{{ downloads }}"
when: when:
- not skip_downloads|default(false) - not skip_downloads|default(false)
- item.enabled
- item.container
- item.value.enabled
- item.value.container
- download_run_once - download_run_once
Loading…
Cancel
Save