From 3dae6adb33e3544545b16de82ba45817227b5faa Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 24 Feb 2024 17:11:40 +0100 Subject: [PATCH] switch dns on oberon --- ansible/group_vars/dhcp/dhcp | 2 +- ansible/production | 2 -- nomad-job/nut_exporter.nomad | 2 +- nomad-job/pdns-auth.nomad | 2 +- nomad-job/pihole.nomad | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ansible/group_vars/dhcp/dhcp b/ansible/group_vars/dhcp/dhcp index 1c24d22..6e912bc 100644 --- a/ansible/group_vars/dhcp/dhcp +++ b/ansible/group_vars/dhcp/dhcp @@ -3,7 +3,7 @@ dhcpd_lease_time: '72' dhcpd_domain_name: "lan.{{ domain.name }}" dhcpd_nameservers: - '192.168.1.4' - - '192.168.1.41' + - '192.168.1.43' dhcpd_zones: - zone: "lan.{{ domain.name }}." diff --git a/ansible/production b/ansible/production index b761b05..62303a2 100644 --- a/ansible/production +++ b/ansible/production @@ -1,9 +1,7 @@ [DNS] -gerard oberon [dhcp] -gerard oberon [database_active] diff --git a/nomad-job/nut_exporter.nomad b/nomad-job/nut_exporter.nomad index 9ba70a0..2475f33 100644 --- a/nomad-job/nut_exporter.nomad +++ b/nomad-job/nut_exporter.nomad @@ -33,7 +33,7 @@ job "nut_exporter" { ports = ["http"] } env { - NUT_EXPORTER_SERVER= "192.168.1.10" + NUT_EXPORTER_SERVER= "192.168.1.43" NUT_EXPORTER_VARIABLES = "battery.runtime,battery.charge,input.voltage,output.voltage,output.voltage.nominal,ups.load,ups.status,ups.realpower" } diff --git a/nomad-job/pdns-auth.nomad b/nomad-job/pdns-auth.nomad index d8a02ef..583fc67 100644 --- a/nomad-job/pdns-auth.nomad +++ b/nomad-job/pdns-auth.nomad @@ -63,7 +63,7 @@ job "pdns-auth" { destination = "local/dnsupdate.conf" data = <