Tag DNS tasks

This commit is contained in:
Salt 2020-08-01 16:32:04 -05:00
parent 98b210413b
commit bddbf8c0d9

View File

@ -40,6 +40,7 @@
record: "{{ source_instancename }}.src.9iron.club."
ttl: 300
value: [ "{{ inventory_hostname }}." ]
tags: [ dns ]
- name: Assure Minecraft CNAME record
route53:
state: present
@ -49,6 +50,7 @@
record: "{{ mcname }}.mc.9iron.club."
ttl: 300
value: [ "{{ inventory_hostname }}." ]
tags: [ dns ]
- name: Assure Minecraft SRV record
route53:
state: present
@ -58,6 +60,7 @@
record: "_minecraft._tcp.{{ mcname }}.mc.{{ zone }}."
ttl: 300
value: [ "1 10 {{ mcport }} {{ inventory_hostname }}." ]
tags: [ dns ]
#- hosts: game2
# roles:
# - role: backups