Skip to content

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

Closed
@daltonv

Description

@daltonv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions