Sfoglia il codice sorgente

add google dns fix

Grega Bremec 3 giorni fa
parent
commit
63618e8dad
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      playbooks/00-general-pre-flight.yml

+ 8 - 0
playbooks/00-general-pre-flight.yml

@@ -13,4 +13,12 @@
           - ansible-collection-community-general
           - ansible-collection-containers-podman
         state: present
+
+    - name: Remove Google from resolv.conf
+      become: yes
+      ansible.builtin.lineinfile:
+        path: /etc/resolv.conf
+        line: "nameserver 8.8.8.8"
+        state: absent
+
 ...