1
2
3
4
5
6
7
8
9
10
---
- 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"