Set records and use role path
This commit is contained in:
parent
fbc0c98fe3
commit
dec156e069
|
@ -1,4 +1,22 @@
|
||||||
server:
|
server:
|
||||||
local-zone: "redxen.localhost." static
|
local-zone: "redxen.localhost." static
|
||||||
|
local-data: "n0.redxen.localhost. 60 IN A 10.0.0.8"
|
||||||
|
local-data: "n1.redxen.localhost. 60 IN A 10.0.0.7"
|
||||||
|
local-data: "n2.redxen.localhost. 60 IN A 10.0.0.9"
|
||||||
|
local-data: "n3.redxen.localhost. 60 IN A 10.0.0.10"
|
||||||
|
local-data: "n4.redxen.localhost. 60 IN A 10.0.0.11"
|
||||||
|
|
||||||
local-data: "_gitea._tcp.redxen.localhost. 60 IN SRV 0 5 443 nbg0.redxen.eu."
|
local-data: "_gitea._tcp.redxen.localhost. 60 IN SRV 0 5 443 nbg0.redxen.eu."
|
||||||
|
|
||||||
|
local-data: "_grafana._tcp.redxen.localhost. 60 IN SRV 0 5 3000 n0.redxen.localhost."
|
||||||
|
local-data: "_grafana._tcp.redxen.localhost. 60 IN SRV 0 5 3000 n1.redxen.localhost."
|
||||||
|
local-data: "_grafana._tcp.redxen.localhost. 60 IN SRV 0 5 3000 n2.redxen.localhost."
|
||||||
|
local-data: "_grafana._tcp.redxen.localhost. 60 IN SRV 0 5 3000 n3.redxen.localhost."
|
||||||
|
local-data: "_grafana._tcp.redxen.localhost. 60 IN SRV 0 5 3000 n4.redxen.localhost."
|
||||||
|
|
||||||
local-data: "_homepage._tcp.redxen.localhost. 60 IN SRV 0 5 80 rxhome.s3-website.eu-central-1.amazonaws.com."
|
local-data: "_homepage._tcp.redxen.localhost. 60 IN SRV 0 5 80 rxhome.s3-website.eu-central-1.amazonaws.com."
|
||||||
|
|
||||||
|
# Node 4
|
||||||
|
local-data: "redis.redxen.localhost. 60 IN A 10.0.0.11"
|
||||||
|
local-data: "postgres.redxen.localhost. 60 IN A 10.0.0.11"
|
||||||
|
local-data: "influxdb.redxen.localhost. 60 IN A 10.0.0.11"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- name: Copy configuration files
|
- name: Copy configuration files
|
||||||
copy:
|
copy:
|
||||||
follow: yes
|
follow: yes
|
||||||
src: roles/dns/files/
|
src: '{{ role_path }}/files/'
|
||||||
dest: /etc/unbound/
|
dest: /etc/unbound/
|
||||||
notify:
|
notify:
|
||||||
- Reload unbound
|
- Reload unbound
|
||||||
|
|
Reference in New Issue