--- - name: Apply netplan. become: yes command: netplan apply - name: Restart DHCP server. become: yes systemd: service: isc-dhcp-server state: restarted - name: Reload Systemd. become: yes systemd: daemon-reload: yes - name: Restart OpenVPN. become: yes systemd: service: openvpn@server state: restarted