From 7c7abb6be59b918c69bbdd18d618b6361fe94866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoha=C3=AF-Eliel=20BERREBY?= Date: Thu, 7 May 2020 12:53:59 +0200 Subject: [PATCH] baseconfig: set up /etc/resolv.conf --- roles/baseconfig/tasks/main.yml | 6 ++++++ roles/baseconfig/templates/resolv.conf | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 roles/baseconfig/templates/resolv.conf diff --git a/roles/baseconfig/tasks/main.yml b/roles/baseconfig/tasks/main.yml index bf88ae2..e4d2db1 100644 --- a/roles/baseconfig/tasks/main.yml +++ b/roles/baseconfig/tasks/main.yml @@ -80,3 +80,9 @@ loop: - zshrc - zshrc.local + +- name: Configure resolvconf + template: + src: resolv.conf + dest: /etc/resolv.conf + mode: 0644 diff --git a/roles/baseconfig/templates/resolv.conf b/roles/baseconfig/templates/resolv.conf new file mode 100644 index 0000000..d1b19b5 --- /dev/null +++ b/roles/baseconfig/templates/resolv.conf @@ -0,0 +1,4 @@ +domain auro.re +search auro.re. +nameserver 10.128.0.253 +nameserver 80.67.169.12