Skip to content

Commit cf57d05

Browse files
fix: allow replacing org runners
This removes a condition from the 'Replace registered runner' task to allow it to replace organisation runners. Resolves MonolithProjects#207 Resolves MonolithProjects#145
1 parent 17d4af3 commit cf57d05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks/install_runner.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@
103103
no_log: "{{ hide_sensitive_logs | bool }}"
104104
when: >
105105
runner_name in registered_runners.json.runners|map(attribute='name')|list and
106-
reinstall_runner and
107-
not runner_org
106+
reinstall_runner
108107
109108
- name: Install service # noqa no-changed-when
110109
ansible.builtin.command: "./svc.sh install {{ runner_user }}"

0 commit comments

Comments
 (0)