summaryrefslogtreecommitdiff
path: root/roles/openwrt/image
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openwrt/image')
-rw-r--r--roles/openwrt/image/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openwrt/image/tasks/main.yml b/roles/openwrt/image/tasks/main.yml
index 92e36c88..47a8793e 100644
--- a/roles/openwrt/image/tasks/main.yml
+++ b/roles/openwrt/image/tasks/main.yml
@@ -32,6 +32,11 @@
src: "{{ openwrt_imgbuilder_dir }}/{{ openwrt_tarball_basename }}/bin/targets/{{ openwrt_arch }}/{{ openwrt_target }}/{{ openwrt_output_image_name_base }}-{{ item }}"
dest: "{{ openwrt_output_dir }}"
+ ## TODO: make this less ugly..
+ - name: set output image names
+ set_fact:
+ openwrt_output_images: "{{ '[\"' + openwrt_output_dir + '/' + openwrt_output_image_name_base + '-' + (openwrt_output_image_suffixes | join('\", \"' + openwrt_output_dir + '/' + openwrt_output_image_name_base + '-')) + '\"]' }}"
+
always:
- name: Delete the temporary build directory
file: