-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Missing svc.sh error when runner_name already in use #145
Labels
bug
Something isn't working
Comments
I removed
|
lewismiddleton
added a commit
to lewismiddleton/ansible-github_actions_runner
that referenced
this issue
May 14, 2024
This removes a condition from the 'Replace registered runner' task to allow it to replace organisation runners. Resolves MonolithProjects#207 Resolves MonolithProjects#145
5 tasks
Thank you! We ran into this today. We had to remove the existing entry in https://github.com/organizations//settings/actions/runners, and then after that the installation worked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When the role is executed with a 'runner_name' already present in the organization , it fails due to a missing svc.sh file. That gives the impression something is wrong with the role. This will happen if you incidentally use the same runner name twice or try to install it on a different machine without deregistering the original. It would be helpful if the role warns that the 'runner_name' is already in use and aborts.
Issue Type
Bug Report
Ansible Version
Steps to Reproduce
Expected Results
I would expect a warning or error that the runner_name is already in use instead of an error due to the missing svc.sh file (which is expected to be missing given that register_runner is skipped)
Actual Results
The text was updated successfully, but these errors were encountered: