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