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:
parent
3fbd0c5053
commit
e7cac9e19c
2
dns.yml
2
dns.yml
@ -53,7 +53,7 @@
|
|||||||
amazon.aws.route53:
|
amazon.aws.route53:
|
||||||
state: present
|
state: present
|
||||||
zone: "{{ item.0.name }}"
|
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
|
type: A
|
||||||
ttl: 300
|
ttl: 300
|
||||||
value: "{{ item.1.ip }}"
|
value: "{{ item.1.ip }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user