Polish up DNS a bit
This commit is contained in:
parent
bddbf8c0d9
commit
68ddce3237
@ -13,4 +13,5 @@
|
|||||||
ttl: 300
|
ttl: 300
|
||||||
value: [ "{{ ipify_public_ip }}" ]
|
value: [ "{{ ipify_public_ip }}" ]
|
||||||
wait: yes
|
wait: yes
|
||||||
|
become: yes
|
||||||
tags: [ common, dns ]
|
tags: [ common, dns ]
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
record: "{{ source_instancename }}.src.9iron.club."
|
record: "{{ source_instancename }}.src.9iron.club."
|
||||||
ttl: 300
|
ttl: 300
|
||||||
value: [ "{{ inventory_hostname }}." ]
|
value: [ "{{ inventory_hostname }}." ]
|
||||||
|
become: yes
|
||||||
tags: [ dns ]
|
tags: [ dns ]
|
||||||
- name: Assure Minecraft CNAME record
|
- name: Assure Minecraft CNAME record
|
||||||
route53:
|
route53:
|
||||||
@ -50,16 +51,18 @@
|
|||||||
record: "{{ mcname }}.mc.9iron.club."
|
record: "{{ mcname }}.mc.9iron.club."
|
||||||
ttl: 300
|
ttl: 300
|
||||||
value: [ "{{ inventory_hostname }}." ]
|
value: [ "{{ inventory_hostname }}." ]
|
||||||
|
become: yes
|
||||||
tags: [ dns ]
|
tags: [ dns ]
|
||||||
- name: Assure Minecraft SRV record
|
- name: Assure Minecraft SRV record
|
||||||
route53:
|
route53:
|
||||||
state: present
|
state: present
|
||||||
overwrite: yes
|
overwrite: yes
|
||||||
zoen: 9iron.club
|
zone: 9iron.club
|
||||||
type: SRV
|
type: SRV
|
||||||
record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}."
|
record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}."
|
||||||
ttl: 300
|
ttl: 300
|
||||||
value: [ "1 10 {{ mcport }} {{ inventory_hostname }}." ]
|
value: [ "1 10 {{ mcport }} {{ inventory_hostname }}." ]
|
||||||
|
become: yes
|
||||||
tags: [ dns ]
|
tags: [ dns ]
|
||||||
#- hosts: game2
|
#- hosts: game2
|
||||||
# roles:
|
# roles:
|
||||||
|
Loading…
Reference in New Issue
Block a user