Skip to content

Commit fd766bd

Browse files
Merge pull request #136 from mtraynham/ref_135
Ref #135 - Correct teardown permissions
2 parents 1400f02 + efd7ce3 commit fd766bd

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)