From 5b08277ce442586608dce7ac12db149ca8889da1 Mon Sep 17 00:00:00 2001
From: Flavio Percoco Premoli <flaper87@gmail.com>
Date: Tue, 24 Oct 2017 21:49:36 +0200
Subject: [PATCH] Access dict item's value keys using .value (#1865)

---
 roles/download/tasks/main.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml
index 79c0a85db..cc891c0dd 100644
--- a/roles/download/tasks/main.yml
+++ b/roles/download/tasks/main.yml
@@ -10,7 +10,7 @@
   with_dict: "{{ downloads }}"
   when:
     - not skip_downloads|default(false)
-    - item.enabled
+    - item.value.enabled
 
 - name: "Sync container"
   include: sync_container.yml
@@ -19,6 +19,6 @@
   with_dict: "{{ downloads }}"
   when:
     - not skip_downloads|default(false)
-    - item.enabled
-    - item.container
+    - item.value.enabled
+    - item.value.container
     - download_run_once
-- 
GitLab