Enable systemd-resolved and symlink config
This commit is contained in:
parent
ec6123fac9
commit
f22670fbf1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user