diff --git a/linux/k3s/master/tasks/main.yml b/linux/k3s/master/tasks/main.yml index ac42862..243aa89 100644 --- a/linux/k3s/master/tasks/main.yml +++ b/linux/k3s/master/tasks/main.yml @@ -1,4 +1,4 @@ - name: run cluster init on first node - shell: "curl -sfL https://get.k3s.io | K3S_TOKEN={{ k3s_master_secret }} sh -s - server --cluster-init" + shell: "curl -sfL https://get.k3s.io | K3S_TOKEN={{ k3s_master_token }} sh -s - server --cluster-init" become: yes when: k3s_bootstrap