Skip to content

Commit 37b34ea

Browse files
committed
Let "Replace runner" work with orgs
When replacing an existing runner, it makes no sense to restrict it to not run on org runners. This commit removes that requirement closes: #207
1 parent 17d4af3 commit 37b34ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks/install_runner.yml

Lines changed: 1 addition & 2 deletions
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)