- name: Restart Hermes dashboard community.general.launchd: name: "{{ hermes_dashboard_label }}" state: restarted # Nothing to restart in a dry run (on the first deploy the plist isn't there). when: not ansible_check_mode