Skip to content

feature: Update labels if runner_labels is different from the server #217

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

Closed
daltonv opened this issue Aug 22, 2024 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@daltonv
Copy link
Contributor

daltonv commented Aug 22, 2024

Summary

Currently if you change the labels set in your playbook and the runner was already installed & registered this role will not update the labels on the server.

Current workaround: Use reinstall_runner: true, but this does more than is really needed. We don't need the runner software to be reinstalled at this point.

Proposed solution: Search the already collected registered_runners.json object for the labels of the already registered runner and compare against runner_labels variable. If they are different use an api call to update the labels.

Issue Type

Feature Idea

@daltonv daltonv added the enhancement New feature or request label Aug 22, 2024
MonolithProjects added a commit that referenced this issue Sep 25, 2024
Resolve #217 - Update runner labels when needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant