--- - name: "[systemd] Restart service: serial2tcp (to deploy config changes)" systemd: daemon_reload: yes name: serial2tcp state: restarted when: - ansible_service_mgr == "systemd" listen: "Restart serial2tcp"