Skip to content

Commit c1b0b29

Browse files
committed
Fix use of ansible struct. Allow resumes for aria2.
1 parent 8b46c11 commit c1b0b29

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

roles/maps/tasks/download_large_file.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
4848
cd /library/downloads/maps/
4949
50-
rm -f {{ item }}*
51-
5250
aria2c \
5351
--connect-timeout="{{ download_timeout }}" \
5452
--log-level=warn \
@@ -64,8 +62,6 @@
6462
6563
chmod 644 "{{ item }}"
6664
mv "{{ item }}" "{{ dest_path }}"
67-
68-
rm -f {{ item }}*
6965
args:
7066
executable: /bin/bash
7167
creates: "{{ dest_path }}"

roles/maps/tasks/install_frontend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
- name: Select vector tiles
4848
file:
49-
src: "{{ maps_serve_path }}/{{ maps_dot_black_vector_tiles[maps_vector_quality].filename }}"
49+
src: "{{ maps_serve_path }}/{{ maps_dot_black_vector_tiles[maps_vector_quality] }}"
5050
dest: "{{ maps_serve_path }}/{{ maps_dot_black_vector_symlink_name }}"
5151
state: link
5252

@@ -64,7 +64,7 @@
6464

6565
- name: Select satellite tiles
6666
file:
67-
src: "{{ maps_serve_path }}/{{ maps_dot_black_satellite_tiles[maps_sat_zoom].filename }}"
67+
src: "{{ maps_serve_path }}/{{ maps_dot_black_satellite_tiles[maps_sat_zoom] }}"
6868
dest: "{{ maps_serve_path }}/{{ maps_dot_black_satellite_symlink_name }}"
6969
state: link
7070

0 commit comments

Comments
 (0)