From 5bac53eae1cdc35f04c1f0f400f2491024f48a0b Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Thu, 5 Oct 2023 17:37:03 +1300 Subject: [PATCH] Don't test if container --- tasks/networking.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/networking.yml b/tasks/networking.yml index 2beca19..457654e 100644 --- a/tasks/networking.yml +++ b/tasks/networking.yml @@ -17,7 +17,7 @@ a+r, } - { src: etc.resolv.conf.j2, dest: /etc/resolv.conf, mode: u+rw, a+r } - when: ansible_virtualization_type != "docker" + when: ansible_virtualization_type != "docker" and ansible_virtualization_type != "container" loop_control: loop_var: network_config tags: dns