From 61d182dfe63825882e2f888dcac4081062f8b913 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 29 Oct 2023 15:36:05 +0100 Subject: [PATCH] factorize consul domain on corwin --- ansible/host_vars/corwin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/host_vars/corwin b/ansible/host_vars/corwin index e8e3b5e..499a844 100644 --- a/ansible/host_vars/corwin +++ b/ansible/host_vars/corwin @@ -11,7 +11,7 @@ wireguard_postup: - iptables -A FORWARD -i %i -j ACCEPT - iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE - sysctl -w net.ipv4.ip_forward=1 - - resolvectl dns %i 192.168.1.4 192.168.1.41; resolvectl domain %i '~ducamps.win' '~ducamps.eu' '~consul' + - resolvectl dns %i 192.168.1.4 192.168.1.41; resolvectl domain %i '~ducamps.win' '~ducamps.eu' '~{{ consul_domain }}' wireguard_postdown: - iptables -D FORWARD -i %i -j ACCEPT