GRM-20: fix molecule idempotence with mode-specific systemd templates
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user