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

This commit is contained in:
Flavio Percoco Premoli 2017-10-24 21:49:36 +02:00 committed by Matthew Mosesohn
parent 5dc56df64e
commit 5b08277ce4

View file

@ -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.value.enabled
- item.container - item.value.container
- download_run_once - download_run_once