We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f07ad commit 4faa75aCopy full SHA for 4faa75a
tasks/uninstall_runner.yml
@@ -4,18 +4,12 @@
4
path: "{{ runner_dir }}/.service"
5
register: runner_service_file_path
6
7
-- name: Read service name from file
8
- slurp:
9
- src: "{{ runner_dir }}/.service"
10
- register: runner_service
11
- when: not runner_service_file_path.stat.exists
12
-
13
- name: Uninstall runner
14
command: "./svc.sh uninstall"
15
args:
16
chdir: "{{ runner_dir }}"
17
become: yes
18
+ when: runner_service_file_path.stat.exists
19
20
- name: Check GitHub Actions runner file
21
stat:
0 commit comments