restart systemd after after linking dns

This commit is contained in:
marmattheo 2025-06-13 01:55:03 +00:00
parent 04bd0afbb6
commit ae5855f4d9

View File

@ -50,6 +50,11 @@
state: link
force: yes
- name: Restart systemd-resolved to apply DNS changes
systemd:
name: systemd-resolved
state: restarted
- name: Inform user
debug:
msg: "DNS now points to {{ incus_dns_ip }}. systemd-resolved is active with ~incus search domain."