Skip to content
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: rke2_custom_registry_mirrors not updated on change for single node servers #281

Open
hoo29 opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hoo29
Copy link
Contributor

hoo29 commented Dec 4, 2024

Summary

If you update rke2_custom_registry_mirrors after a deploy to a single node server, it is never updated.

first_server.yml which has the Copy Containerd Registry Configuration file task is only called on first deploy as active_server is not defined is true. Afterwards the when condition is false. remaining_nodes.yml which also has the Copy Containerd Registry Configuration file task is never called as it is only a single node deploy.

Issue Type

Bug Report

Ansible Version

ansible [core 2.16.12]
  config file = /home/huw/.ansible.cfg
  configured module search path = ['/home/huw/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/huw/venv/lib/python3.12/site-packages/ansible
  ansible collection location = /home/huw/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/huw/venv/bin/ansible
  python version = 3.12.3 (main, Nov  6 2024, 18:32:19) [GCC 13.2.0] (/home/huw/venv/bin/python3)
  jinja version = 3.1.3
  libyaml = True

Steps to Reproduce

Deploy a single node server, update rke2_custom_registry_mirrors, redeploy

Expected Results

Custom registry config is updated

Actual Results

0 tasks have a change
@hoo29 hoo29 added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant