From 6deb648540d44ca7dd91217307bd7bcd08300b2b Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 19 Oct 2024 18:12:59 +0200 Subject: =?UTF-8?q?Add=20layers=20from=20Svenska=20Kraftn=C3=A4t=20(SvK)?= =?UTF-8?q?=20and=20copy=20custom=20layers=20to=20the=20production=20machi?= =?UTF-8?q?ne.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- group_vars/all.yml | 1 + tasks/webmap.yml | 13 +++++++++++++ webmap-tools | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) 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 index a40c3c3..4f56801 160000 --- a/webmap-tools +++ b/webmap-tools @@ -1 +1 @@ -Subproject commit a40c3c3e5739608ee21632b67006eddd3309b367 +Subproject commit 4f56801e9737e1f9201ea5e2d1f23f759d65d437 -- cgit v1.2.3