Skip to content
Snippets Groups Projects
Commit 940d5901 authored by Jan Philipp Timme's avatar Jan Philipp Timme
Browse files

Enforce systemd-resolved replacing legacy resolvconf state

parent e373d32a
Branches
No related tags found
No related merge requests found
......@@ -10,5 +10,4 @@ include:
- .locale
- .hostname
- .systemd-resolved
- .resolvconf
- .automatic-salt-minion-restart
......@@ -13,3 +13,11 @@ hsh_enable_and_restart_systemd_resolved:
- file: hsh_manage_systemd_resolved_config
- watch:
- file: hsh_manage_systemd_resolved_config
hsh_override_resolveconf_with_symlink:
file.symlink:
- name: /etc/resolv.conf
- target: /run/systemd/resolve/stub-resolv.conf
- force: True
- require:
- service: hsh_enable_and_restart_systemd_resolved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment