diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index 09aa7663..97744dc0 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -133,6 +133,7 @@ - "fstrim.timer" - "bluetooth.service" - "sddm.service" + - "systemd-resolved.service" become: true tags: services @@ -259,6 +260,15 @@ become: true tags: config +- name: Symlink systemd-resolved config file for /etc/resolv.conf + ansible.builtin.file: + src: "/run/systemd/resolve/stub-resolv.conf" + dest: "/etc/resolv.conf" + state: link + force: true + become: true + tags: config + - name: Set sudoers.d permissions ansible.builtin.file: path: /etc/sudoers.d