We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c19e3a commit 2a66055Copy full SHA for 2a66055
roles/maps/tasks/download_large_file.yml
@@ -62,6 +62,7 @@
62
vars:
63
# Where the file eventually goes
64
dest_path: "{{ dest_base_path }}/{{ item }}"
65
+
66
log_file: "{{ item }}.log"
67
working_dir: "/library/downloads/maps"
68
register: download_file_size
@@ -99,6 +100,7 @@
99
100
101
102
103
104
105
106
rescue:
@@ -116,3 +118,6 @@
116
118
echo "aria2c error:" 1>&2
117
119
tac "{{ log_file }}" | sed '/'"Download Progress Summary as of"'/q' | tac 1>&2
120
exit 1
121
+ vars:
122
+ log_file: "{{ item }}.log"
123
+ working_dir: "/library/downloads/maps"
0 commit comments