diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-10-19 18:12:59 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-10-19 18:13:11 +0200 |
commit | 6deb648540d44ca7dd91217307bd7bcd08300b2b (patch) | |
tree | cc2e1f5a941aee1567b5da6ea9ec3fa7460db154 | |
parent | 407787536ba17c49b43da550d4c61a3969f14e45 (diff) |
Add layers from Svenska Kraftnät (SvK) and copy custom layers to the production machine.
-rw-r--r-- | group_vars/all.yml | 1 | ||||
-rw-r--r-- | tasks/webmap.yml | 13 | ||||
m--------- | webmap-tools | 0 |
3 files changed, 14 insertions, 0 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml index 7243e29..0b3227d 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -8,6 +8,7 @@ webmap_layer_groups: - ren - vbk - ri + - svk # PostgreSQL's version number and cluster name postgresql: 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 diff --git a/webmap-tools b/webmap-tools -Subproject a40c3c3e5739608ee21632b67006eddd3309b36 +Subproject 4f56801e9737e1f9201ea5e2d1f23f759d65d43 |