aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/templates
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-20 18:53:46 +0100
committerbinary <me@rgoncalves.se>2020-11-20 18:53:46 +0100
commit3dd72de960553a694520c9ee58d6e9c16b0de3b9 (patch)
tree016256a9c33b1df597bcb30451ef07272941109e /roles/dns/templates
parent96110825a742bde9a8dc41bb7d738a1f3e00c390 (diff)
downloadinfrastructure-3dd72de960553a694520c9ee58d6e9c16b0de3b9.tar.gz
Add light DNS role with resolv.conf
Diffstat (limited to 'roles/dns/templates')
-rw-r--r--roles/dns/templates/resolv.conf.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/dns/templates/resolv.conf.j2 b/roles/dns/templates/resolv.conf.j2
new file mode 100644
index 0000000..f7240e7
--- /dev/null
+++ b/roles/dns/templates/resolv.conf.j2
@@ -0,0 +1,7 @@
+
+# resolv configuration ~~ /etc/resolv.conf
+# managed by Ansible
+
+nameserver {{ global.dns[0] }}
+nameserver {{ global.dns[1] }}
+
remember that computers suck.