Escape quotes
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
923c8b9905
commit
333670a73b
@ -112,7 +112,7 @@
|
||||
|
||||
- name: Retrieve token & reference new cluster
|
||||
ansible.builtin.set_fact:
|
||||
cluster: "{{ cluster | combine( { mastertoken: '{{ lookup('file', /var/lib/rancher/k3s/server/token) }}' }, { apiurl: 'https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443' } ) }}"
|
||||
cluster: "{{ cluster | combine( { mastertoken: '{{ lookup(''file'', /var/lib/rancher/k3s/server/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