--- - name: Set k3s master facts set_fact: node_join_token: "{{ hostvars[groups['masters'][0]]['k8s_join_token'] }}" - name: Join cluster shell: "{{ node_join_token }}"