Deploy a registries.yaml from registries_config on k3s servers and restart k3s on its change

This commit is contained in:
2026-10-09 14:37:29 +00:00
parent 80658c632f
commit 4d1725f17f
4 changed files with 20 additions and 1 deletions
@@ -15,7 +15,7 @@
service:
name: k3s
enabled: true
state: "{{ 'restarted' if not command.changed and config.changed else 'started' }}"
state: "{{ 'restarted' if not command.changed and (config.changed or registries_config.changed) else 'started' }}"
- name: Waiting for K3s-server to accept connections
ansible.builtin.wait_for: