Update 'k8s/initialize.yml'

This commit is contained in:
2024-05-04 15:07:51 +00:00
parent 878613a0b3
commit c6c8fc7003

View File

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