--- - name: Reload network interfaces debian become: true command: /sbin/ifreload -a - name: Restart dhcpcd raspbian systemd: name: dhcpcd state: restarted