diff --git a/tasks/networking.yml b/tasks/networking.yml index 2bdcf30..5d5b9f0 100644 --- a/tasks/networking.yml +++ b/tasks/networking.yml @@ -14,6 +14,7 @@ dest: /etc/resolv.conf, mode: u+rw,a+r } + when: ansible_virtualization_type != "docker" tags: dns - name: Ensure hosts file correct