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