ansible/roles/systemd_networkd/handlers/main.yml

21 lines
372 B
YAML
Raw Normal View History

2022-01-02 16:30:59 +01:00
---
- name: Update initramfs
command:
cmd: update-initramfs -u
- name: Restart systemd-networkd
systemd:
name: systemd-networkd.service
state: restarted
- name: Reboot required
file:
path: /var/run/reboot-required
state: touch
modification_time: preserve
access_time: preserve
owner: root
group: root
mode: u=rw,g=r,o=r
...