From e7cac9e19cbf137965e6f9204a5cd30ebad01b68 Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 4 Jun 2025 16:05:47 -0600 Subject: [PATCH] fix Route53 @ record parsing in DNS playbook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- dns.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns.yml b/dns.yml index f130945..3ca00b4 100644 --- a/dns.yml +++ b/dns.yml @@ -53,7 +53,7 @@ amazon.aws.route53: state: present zone: "{{ item.0.name }}" - record: "{{ item.1.name }}.{{ item.0.name }}" + record: "{{ item.0.name if item.1.name == '@' else item.1.name + '.' + item.0.name }}" type: A ttl: 300 value: "{{ item.1.ip }}"