Grega Bremec 3 дней назад
Родитель
Сommit
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
+
 ...