From 6701df1a19982b1554889e265bdbb4c32b45fb91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 12 Sep 2025 11:54:25 +0300 Subject: [PATCH] Add Resolv.conf to Installer --- files/resolv.conf | 2 ++ tasks/installer.yml | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 files/resolv.conf diff --git a/files/resolv.conf b/files/resolv.conf new file mode 100644 index 0000000..ab323d7 --- /dev/null +++ b/files/resolv.conf @@ -0,0 +1,2 @@ +nameserver 127.0.0.1 +nameserver 1.1.1.1 diff --git a/tasks/installer.yml b/tasks/installer.yml index fdd2067..a10d7f8 100644 --- a/tasks/installer.yml +++ b/tasks/installer.yml @@ -78,6 +78,13 @@ tags: - motd +- name: "Installer : Resolv.conf : Configure - Copy File" + ansible.builtin.template: + src: './files/resolv.conf' + dest: '/etc/resolv.conf' + tags: + - resolv + - name: "Installer : Networking : Configure - Copy Configuration" ansible.builtin.template: src: './files/networking/interfaces'