diff --git a/files/internal.conf b/files/internal.conf index ab60d80..7c4ca37 100644 --- a/files/internal.conf +++ b/files/internal.conf @@ -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" diff --git a/tasks/main.yml b/tasks/main.yml index b2a9cd2..12dc590 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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