From 826a10deac6892a710d8473336b4a437ea4dbf25 Mon Sep 17 00:00:00 2001 From: VC Date: Wed, 16 Jul 2025 15:11:27 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F:=20make=20munin=5Fclient=20i?= =?UTF-8?q?ndependant=20from=20server=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/munin_client/templates/munin-node.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/munin_client/templates/munin-node.conf.j2 b/roles/munin_client/templates/munin-node.conf.j2 index d677a8a..036cd55 100644 --- a/roles/munin_client/templates/munin-node.conf.j2 +++ b/roles/munin_client/templates/munin-node.conf.j2 @@ -41,7 +41,7 @@ host_name {{ ansible_host }} # network notation unless the perl module Net::CIDR is installed. You # may repeat the allow line as many times as you'd like -allow ^{{ hostvars['munin']['ansible_default_ipv4']['address'].split('.')|join('\.') }} +allow ^{{ hostvars['munin']['proxmox_net0']['ip'] | ansible.utils.ipaddr('address') | split('.') |join('\.') }} allow ^127\.0\.0\.1$ allow ^::1$