From f732c1dd54e5bca78a13d987ae695badce0e3f3c Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Sun, 13 Apr 2025 22:58:40 +1200 Subject: [PATCH] fix: Don't tweak permissions on resolv.conf etc --- tasks/networking.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/networking.yml b/tasks/networking.yml index 99e696b..7b93476 100644 --- a/tasks/networking.yml +++ b/tasks/networking.yml @@ -97,5 +97,8 @@ - /etc/hosts loop_control: loop_var: perm_config + when: > + ansible_virtualization_type != "docker" + and ansible_virtualization_type != "container" changed_when: false tags: dns