summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/tasks/runtime-populate.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nexus/tasks/runtime-populate.yml')
-rw-r--r--ansible/roles/nexus/tasks/runtime-populate.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/nexus/tasks/runtime-populate.yml b/ansible/roles/nexus/tasks/runtime-populate.yml
new file mode 100644
index 00000000..e22b650e
--- /dev/null
+++ b/ansible/roles/nexus/tasks/runtime-populate.yml
@@ -0,0 +1,12 @@
+---
+- name: Find images to be inserted into nexus in runtime
+ find:
+ paths: "{{ aux_data_path }}"
+ patterns: '*.tar'
+ register: tar_images
+
+# 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 }}"
+