Overwrite stale records

This commit is contained in:
Salt 2020-07-23 21:02:56 -05:00
parent 345c0f4053
commit f62c6a8414
3 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
- name: Register record in zone
route53:
state: present
overwrite: yes
zone: "{{ zone }}"
type: A
record: "{{ inventory_hostname }}.{{ zone }}."

View File

@ -180,6 +180,7 @@
- name: Assure CNAME record
route53:
state: present
overwrite: yes
zone: "{{ zone }}"
type: CNAME
record: "{{ mcname }}.mc.{{ zone }}."
@ -189,6 +190,7 @@
- name: Assure SRV record
route53:
state: present
overwrite: yes
zone: "{{ zone }}"
type: SRV
record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}."

View File

@ -39,6 +39,7 @@
- name: Assure CNAME record
route53:
state: present
overwrite: yes
zone: "{{ zone }}"
type: CNAME
record: "{{ source_instancename }}.src.{{ zone }}."