Update 'k8s/initialize.yml'

This commit is contained in:
2024-05-04 14:51:59 +00:00
parent c665d1f9bc
commit 878613a0b3

View File

@@ -44,7 +44,9 @@
- name: Execute image pull
shell: kubeadm config images pull
- name: Join the clusters
shell: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }}"
shell: "{{ hostvars['K8S_CP_JOIN_DH']['token'] }} >> /etc/kubernetes/control-plane-join.log"
args:
creates: /etc/kubernetes/control-plain-join.log
# - name: Reboot machine to finaliza presetup
# reboot:
# reboot_timeout: 3600