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