From cb70caf1786bf94654108e4e443abd2b3c67576c Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Rodriguez Date: Tue, 3 Dec 2024 15:55:30 +0100 Subject: [PATCH] Update ddns.yml --- playbooks/roles/infra-aws-sandbox/tasks/ddns.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/infra-aws-sandbox/tasks/ddns.yml b/playbooks/roles/infra-aws-sandbox/tasks/ddns.yml index 6be48ae..3ad99dd 100644 --- a/playbooks/roles/infra-aws-sandbox/tasks/ddns.yml +++ b/playbooks/roles/infra-aws-sandbox/tasks/ddns.yml @@ -25,7 +25,7 @@ server: "{{ lookup('dig', ddns_server) }}" zone: "{{ ddns_domain }}." record: "{{ account_name }}.{{ ddns_domain }}." - value: "{{ ns_records }}" + value: "{{ ns_records | map('regex_replace', '$', '.') }}" type: NS port: "{{ ddns_port | d('53') }}" key_name: "{{ ddns_key_name }}"