summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-10-19 18:12:59 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-10-19 18:13:11 +0200
commit6deb648540d44ca7dd91217307bd7bcd08300b2b (patch)
treecc2e1f5a941aee1567b5da6ea9ec3fa7460db154 /tasks
parent407787536ba17c49b43da550d4c61a3969f14e45 (diff)
Add layers from Svenska Kraftnät (SvK) and copy custom layers to the production machine.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/webmap.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tasks/webmap.yml b/tasks/webmap.yml
index c51f0a9..d4aca82 100644
--- a/tasks/webmap.yml
+++ b/tasks/webmap.yml
@@ -108,6 +108,19 @@
owner=_webmap-download group=root
mode=0755
+- name: Create directory /var/cache/webmap/custom
+ file: path=/var/cache/webmap/custom
+ state=directory
+ owner=root group=root
+ mode=0755
+
+- name: Copy custom layers into /var/cache/webmap/custom
+ copy: src=webmap-tools/layers/custom/
+ dest=/var/cache/webmap/custom/
+ owner=root group=root
+ mode=0644
+ directory_mode=0755
+
- name: Copy webmap-download@.service
copy: src=etc/systemd/system/webmap-download@.service
dest=/etc/systemd/system/webmap-download@.service