Set records and use role path

This commit is contained in:
Alex 2020-04-09 18:31:42 +02:00
parent fbc0c98fe3
commit dec156e069
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,22 @@
server:
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: "_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."
# 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"

View File

@ -1,7 +1,7 @@
- name: Copy configuration files
copy:
follow: yes
src: roles/dns/files/
src: '{{ role_path }}/files/'
dest: /etc/unbound/
notify:
- Reload unbound