From 5ad344163dadb668f1daf6ebdf77593aac9dd525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=A4user?= Date: Thu, 19 Aug 2021 14:08:12 +0200 Subject: [PATCH] Fix Yanic behaviour on Statserver --- host_vars/stats.regensburg.freifunk.net | 2 ++ roles/yanic/templates/config.toml.j2 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/host_vars/stats.regensburg.freifunk.net b/host_vars/stats.regensburg.freifunk.net index 7a748a0..4c73791 100644 --- a/host_vars/stats.regensburg.freifunk.net +++ b/host_vars/stats.regensburg.freifunk.net @@ -5,6 +5,8 @@ grafana_rendering: True # yanic needs this site_code: ffrgb_cty +yanic_publisher: true + yanic_repondd_enable: false yanic_respondd_interface: ens18 diff --git a/roles/yanic/templates/config.toml.j2 b/roles/yanic/templates/config.toml.j2 index a0f1f6d..87db85f 100644 --- a/roles/yanic/templates/config.toml.j2 +++ b/roles/yanic/templates/config.toml.j2 @@ -32,9 +32,11 @@ path = "{{ yanic_meshviewer_ffrgb_path }}" [nodes.output.meshviewer-ffrgb.filter] no_owner = true +{% if yanic_publisher == false %} blocklist = [] sites = ["{{ site }}"] has_location = true +{% endif %} #[nodes.output.meshviewer-ffrgb.filter.in_area] #latitude_min = 34.30