- name: systemctl restart systemd-networkd become: yes systemd: name: systemd-networkd state: restarted