We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1662b29 commit 658dc73Copy full SHA for 658dc73
tasks/install_runner.yml
@@ -129,7 +129,7 @@
129
when: >
130
ansible_facts.system != 'Darwin' and
131
runner_state|lower == "started" and
132
- ansible_facts.services[(runner_service.content | b64decode) | trim ]['state'] != 'running'
+ ansible_facts.services[(runner_service.content | b64decode) | trim ]['state'] | default('stopped') != 'running'
133
134
- name: START and enable Github Actions Runner service (macOS) # TODO: Idempotence
135
ansible.builtin.command: "./svc.sh start" # noqa no-changed-when
0 commit comments