This commit is contained in:
Robert Kaussow 2024-08-17 17:18:37 +02:00
parent b14bd45c2a
commit 154c47a7dc
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -67,7 +67,7 @@
state: patched
definition:
metadata:
labels: "{{ (__k3s_node_lables['control'] if k3s_server | bool else __k3s_node_lables['worker']) | combine(__k3s_node_lables['general'], 66) }}"
labels: "{{ (__k3s_node_lables['control'] if k3s_server | bool else __k3s_node_lables['worker']) | combine(__k3s_node_lables['general'], k3s_node_labels) }}"
delegate_to: "{{ hostvars[k3s_server_nodes[0]]['inventory_hostname'] }}"
- name: Patch existing resources