Deploy a registries.yaml from registries_config on k3s servers and restart k3s on its change
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user