summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/tasks/runtime-populate.yml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-06-04 12:47:20 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-06-04 12:47:20 +0200
commit76e017afde67940e80efeaec546c04bef2dadff2 (patch)
tree885df0233f8bf50b3e921b03dc318f4ef3442c43 /ansible/roles/nexus/tasks/runtime-populate.yml
parent8636d184d6c07df9ef74941a0d4343d61b95c5d4 (diff)
Replace 'with_items' loop statements with 'loop' keyword
As of Ansible 2.5 'loop' keyword is a recommended way for looping statements instead of 'with_dict'. Change-Id: I19e00cc27e13955e2056840fd4ce99841bc824ad Issue-ID: OOM-1887 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/nexus/tasks/runtime-populate.yml')
-rw-r--r--ansible/roles/nexus/tasks/runtime-populate.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/nexus/tasks/runtime-populate.yml b/ansible/roles/nexus/tasks/runtime-populate.yml
index ac947ec7..2d90bf22 100644
--- a/ansible/roles/nexus/tasks/runtime-populate.yml
+++ b/ansible/roles/nexus/tasks/runtime-populate.yml
@@ -8,4 +8,4 @@
# WA: block of tasks cant be executed in iterations
# need to iterate over those tasks in include
- include: "insert-images.yml"
- with_items: "{{ tar_images.files }}"
+ loop: "{{ tar_images.files }}"