diff --git a/linux/k3s/master/tasks/main.yml b/linux/k3s/master/tasks/main.yml index 52c19f2..fe361ca 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_secret }}" sh -s - server --cluster-init" + shell: "curl -sfL https://get.k3s.io | K3S_TOKEN={{ k3s_secret }} sh -s - server --cluster-init" become: yes when: k3s_bootstrap