Rework systemd-networkd role.

This commit is contained in:
Andreas B. Mundt 2022-04-02 10:14:11 +02:00 committed by Andreas B. Mundt
parent f9e8560f7b
commit 37c767ff0c
6 changed files with 40 additions and 44 deletions

View file

@ -0,0 +1,14 @@
- name: restart and enable systemd-networkd
systemd:
name: systemd-networkd
enabled: yes
state: restarted
daemon_reload: yes
listen: "start and enable systemd-networkd"
- name: start and enable systemd-resolved
systemd:
name: systemd-resolved
enabled: yes
state: started
listen: "start and enable systemd-resolved"