Open connorhsm opened 4 days ago
When the variable "runner_labels" provided to the role changes, and running ansible-playbook causes the configuration in GitHub to change, the step "Update runner labels if changed" still reports OK when I would expect it to report Changed.
Bug Report
ansible [core 2.17.6] config file = /Users/REDACTED/action_runner/ansible.cfg configured module search path = ['/Users/REDACTED/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /Users/REDACTED/action_runner/.venv/lib/python3.13/site-packages/ansible ansible collection location = /Users/REDACTED/.ansible/collections:/usr/share/ansible/collections executable location = /Users/REDACTED/action_runner/.venv/bin/ansible python version = 3.13.0 (main, Oct 7 2024, 05:02:14) [Clang 16.0.0 (clang-1600.0.26.3)] (/Users/REDACTED/action_runner/.venv/bin/python) jinja version = 3.1.4 libyaml = True
- name: GHA runner configuration hosts: all become: true vars: ... runner_labels: ["test", "test2"] roles: - role: monolithprojects.github_actions_runner
I expect the task to report Changed if changes are made to the labels.
The task is actually reporting Ok when changes are made.
Summary
When the variable "runner_labels" provided to the role changes, and running ansible-playbook causes the configuration in GitHub to change, the step "Update runner labels if changed" still reports OK when I would expect it to report Changed.
Issue Type
Bug Report
Ansible Version
Steps to Reproduce
Expected Results
I expect the task to report Changed if changes are made to the labels.
Actual Results