collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 lines
242 B

- name: run cluster init on first node
shell: "curl -sfL https://get.k3s.io | K3S_TOKEN={{ k3s_master_token }} sh -s - server --cluster-init"
when: k3s_bootstrap
- name: wait for setup completion
wait_for:
port: 6443
delay: 10