Enable systemd-resolved and symlink config

This commit is contained in:
exu 2024-10-18 10:34:58 +02:00
parent ec6123fac9
commit f22670fbf1

View File

@ -133,6 +133,7 @@
- "fstrim.timer" - "fstrim.timer"
- "bluetooth.service" - "bluetooth.service"
- "sddm.service" - "sddm.service"
- "systemd-resolved.service"
become: true become: true
tags: services tags: services
@ -259,6 +260,15 @@
become: true become: true
tags: config 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 - name: Set sudoers.d permissions
ansible.builtin.file: ansible.builtin.file:
path: /etc/sudoers.d path: /etc/sudoers.d