From 8e97008f4df73d1f638d8296f8c18dfd3f85e6a8 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Fri, 12 Jul 2024 14:51:18 +0200 Subject: [PATCH] fix(server/ddns): use variables instead of hardcoded values Signed-off-by: Matej Focko --- roles/server/ddns/templates/inadyn.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/server/ddns/templates/inadyn.conf b/roles/server/ddns/templates/inadyn.conf index 3258a89..52bfa62 100644 --- a/roles/server/ddns/templates/inadyn.conf +++ b/roles/server/ddns/templates/inadyn.conf @@ -2,14 +2,14 @@ period = 300 allow-ipv6 = true provider cloudflare.com:1 { - username = mfocko.xyz + username = {{ cloudflare_zone }} password = {{ cloudflare_token }} - hostname = mountainside.mfocko.xyz + hostname = {{ host_fqdn }} } provider cloudflare.com:2 { - username = mfocko.xyz + username = {{ cloudflare_zone }} password = {{ cloudflare_token }} - hostname = mountainside.mfocko.xyz + hostname = {{ host_fqdn }} wildcard = true }