GRM-20: fix molecule idempotence with mode-specific systemd templates
CI / lint (push) Has been cancelled
CI / unit-tests (push) Has been cancelled
CI / molecule-tests (push) Has been cancelled

This commit is contained in:
Emil Simeonov
2026-06-19 14:12:58 +02:00
parent 1a917e7a5d
commit 129cfe3c79
13 changed files with 77 additions and 24 deletions
@@ -4,6 +4,7 @@
- name: Restart gitea-runner systemd instance
ansible.builtin.systemd:
name: "gitea-runner@{{ runner_name }}"
name: "gitea-runner-{{ runner_mode }}@{{ runner_name }}"
state: restarted
daemon_reload: true
when: systemd_available is defined and systemd_available.stat is defined and systemd_available.stat.exists