Skip to content

Commit efd7ce3

Browse files
committed
Ref #135 - Correct teardown permissions
1 parent 1400f02 commit efd7ce3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/uninstall_runner.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
command: "./config.sh remove --token {{ registration.json.token }} --name '{{ runner_name }}' --unattended"
2121
args:
2222
chdir: "{{ runner_dir }}"
23+
become: yes
2324
become_user: "{{ runner_user }}"
2425
no_log: "{{ hide_sensitive_logs | bool }}"
2526
when: runner_name in registered_runners.json.runners|map(attribute='name')|list and runner_file.stat.exists

0 commit comments

Comments
 (0)