aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/templates
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-03-05 19:53:13 +0100
committerbinary <me@rgoncalves.se>2021-03-05 19:53:13 +0100
commit817bb2df9606bc17929d04b927e4dca2934b3399 (patch)
treed88c9effb7b1308a110912121bfa83888bba1557 /roles/dns/templates
parentdc511c3bde7a641b772b3e6529f092368b4bd665 (diff)
downloadinfrastructure-817bb2df9606bc17929d04b927e4dca2934b3399.tar.gz
Refactor dns role
Diffstat (limited to 'roles/dns/templates')
-rw-r--r--roles/dns/templates/resolv.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/dns/templates/resolv.conf.j2 b/roles/dns/templates/resolv.conf.j2
index f7240e7..b789e8a 100644
--- a/roles/dns/templates/resolv.conf.j2
+++ b/roles/dns/templates/resolv.conf.j2
@@ -2,6 +2,6 @@
# resolv configuration ~~ /etc/resolv.conf
# managed by Ansible
-nameserver {{ global.dns[0] }}
-nameserver {{ global.dns[1] }}
+nameserver {{ dns_dns[0] }}
+nameserver {{ dns_dns[1] }}
remember that computers suck.