From 4343261c278cb33cf7b3d1206a368276aaed579a Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Wed, 16 Apr 2025 00:36:47 -0500 Subject: [PATCH] setup pihole for all of the vms and lxc containers --- roles/mgmt/UpdateAllhosts.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/roles/mgmt/UpdateAllhosts.yml b/roles/mgmt/UpdateAllhosts.yml index c6221be..452495e 100644 --- a/roles/mgmt/UpdateAllhosts.yml +++ b/roles/mgmt/UpdateAllhosts.yml @@ -9,4 +9,13 @@ tasks: - name: Upgrade-packages.yml - update packages - include: ../../lib/upgrade-packages.yml \ No newline at end of file + include: ../../lib/upgrade-packages.yml + + - name: Configure resolv.conf + copy: + content: | + nameserver 192.168.0.224 + search local + dest: /etc/resolv.conf + mode: '0644' + backup: yes \ No newline at end of file