From 3dd72de960553a694520c9ee58d6e9c16b0de3b9 Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 20 Nov 2020 18:53:46 +0100 Subject: Add light DNS role with resolv.conf --- roles/dns/templates/resolv.conf.j2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/dns/templates/resolv.conf.j2 (limited to 'roles/dns/templates') 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] }} + -- cgit v1.2.3