initial commit

This commit is contained in:
Bartal Læarsson
2025-02-27 21:41:38 +00:00
parent da3f780fd2
commit ccdc52070b
27 changed files with 27 additions and 4 deletions
@@ -0,0 +1,13 @@
---
# tasks/worker-join.yml
- name: Get join command from control plane
delegate_to: controlplane
command: kubeadm token create --print-join-command
register: join_command_result
changed_when: false
run_once: true
- name: Join worker node to the cluster
command: "{{ join_command_result.stdout }}"
args:
creates: /etc/kubernetes/kubelet.conf