--- - name: "[systemd] Enable and start service: serial2tcp" systemd: daemon_reload: yes name: "serial2tcp" enabled: yes state: started when: - ansible_service_mgr == "systemd"