summaryrefslogtreecommitdiff
path: root/roles/openwrt/image/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openwrt/image/tasks/main.yml')
-rw-r--r--roles/openwrt/image/tasks/main.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/roles/openwrt/image/tasks/main.yml b/roles/openwrt/image/tasks/main.yml
index 17a31ba1..5a3f332b 100644
--- a/roles/openwrt/image/tasks/main.yml
+++ b/roles/openwrt/image/tasks/main.yml
@@ -39,11 +39,17 @@
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: save build-log to output directory
+ - name: save stdout build-log to output directory
when: openwrt_build is defined
copy:
content: "{{ openwrt_build.stdout }}\n"
- dest: "{{ openwrt_output_dir }}/build.log"
+ dest: "{{ openwrt_output_dir }}/build-stdout.log"
+
+ - name: save stderr build-log to output directory
+ when: openwrt_build is defined
+ copy:
+ content: "{{ openwrt_build.stderr }}\n"
+ dest: "{{ openwrt_output_dir }}/build-stderr.log"
- name: Delete the temporary build directory
file: