14 lines
329 B
YAML
14 lines
329 B
YAML
- name: Restart systemd-networkd
|
|
ansible.builtin.systemd_service:
|
|
name: systemd-networkd
|
|
state: restarted
|
|
|
|
- name: Trigger udev for new interface names
|
|
ansible.builtin.command: udevadm trigger
|
|
become: true
|
|
|
|
- name: Restart systemd-networkd
|
|
ansible.builtin.systemd:
|
|
name: systemd-networkd
|
|
state: restarted
|