--- # Restarts only a unit that is already running: before the manual sign-in the # unit is inert, and starting it here would just trip its conditions. - name: Restart obsidian sync ansible.builtin.command: argv: [systemctl, try-restart, "{{ obsidian_headless_service_name }}.service"] changed_when: true listen: restart obsidian sync