Restart systemd-networkd on routes changes

Change-Id: Ia6b2f6e1e4cc62d2761e13c06b726bb7998f9ff9
This commit is contained in:
Dmitriy Rabotyagov
2024-12-12 13:07:56 +01:00
parent 12a0da6ab8
commit dcc83c2448
+2
View File
@@ -202,6 +202,8 @@
group: "root"
mode: "0644"
loop: "{{ _systemd_networks_named | selectattr('static_routes', 'defined') }}"
notify:
- Restart systemd-networkd
- name: Enable and start systemd-networkd
systemd: