fix Route53 @ record parsing in DNS playbook

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Phil 2025-06-04 16:05:47 -06:00
parent 3fbd0c5053
commit e7cac9e19c

View File

@ -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 }}"