This commit is contained in:
parent
44e6a160af
commit
6ccc976054
@ -120,7 +120,9 @@
|
||||
var: k3s_token
|
||||
|
||||
- name: Add to dictionary
|
||||
ansible.builtin.set_fact:
|
||||
cluster: "{{ cluster | combine( { 'mastertoken': k3s_token }, { 'apiurl': \"https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443\" } ) }}"
|
||||
|
||||
when: cluster.mastertoken is not defined
|
||||
|
||||
- ansible.builtin.debug:
|
||||
|
Loading…
Reference in New Issue
Block a user