소스 검색

add google dns fix

Grega Bremec 3 일 전
부모
커밋
63618e8dad
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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
+
 ...