Skip to content

Commit c91b287

Browse files
fix service restart task
1 parent c7d5977 commit c91b287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/install_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
when: runner_state|lower == "stopped"
151151

152152
- name: Version changed - RESTART Github Actions Runner service
153-
ansible.builtin.command: "./svc.sh stop && sleep 5 && ./svc.sh start"
153+
ansible.builtin.shell: "./svc.sh stop && sleep 5 && ./svc.sh start"
154154
args:
155155
chdir: "{{ runner_dir }}"
156156
changed_when: true

0 commit comments

Comments
 (0)