Try empty string
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
03e903a548
commit
2d075ad7ff
@ -100,8 +100,8 @@
|
|||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "curl -sfL https://get.k3s.io | sh -s - server --cluster-init --disable local-storage,traefik --tls-san {{ cluster.virtualip | ansible.utils.ipaddr('address') }}"
|
cmd: "curl -sfL https://get.k3s.io | sh -s - server --cluster-init --disable local-storage,traefik --tls-san {{ cluster.virtualip | ansible.utils.ipaddr('address') }}"
|
||||||
environment:
|
environment:
|
||||||
K3S_TOKEN: "{{ cluster.mastertoken | default(omit, true) }}"
|
K3S_TOKEN: "{{ cluster.mastertoken | default('', true) }}"
|
||||||
K3S_URL: "{{ cluster.apiurl | default(omit, true) }}"
|
K3S_URL: "{{ cluster.apiurl | default('', true) }}"
|
||||||
|
|
||||||
- name: Retrieve token & reference new cluster
|
- name: Retrieve token & reference new cluster
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
Loading…
Reference in New Issue
Block a user