GRM-20: fix molecule idempotence with mode-specific systemd templates

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
+1 -1
View File
@@ -6,6 +6,6 @@
- name: Restart gitea-runner
ansible.builtin.systemd:
name: "gitea-runner@{{ runner_name }}"
name: "gitea-runner-{{ runner_mode }}@{{ runner_name }}"
state: restarted
when: ansible_facts is defined and ansible_facts['service_mgr'] | default('') == 'systemd'