From c6c8fc7003f1c924ad624038fa9189110a61d6cf Mon Sep 17 00:00:00 2001 From: alecsandru Date: Sat, 4 May 2024 15:07:51 +0000 Subject: [PATCH] Update 'k8s/initialize.yml' --- k8s/initialize.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/initialize.yml b/k8s/initialize.yml index b85d86b..0d03ac1 100644 --- a/k8s/initialize.yml +++ b/k8s/initialize.yml @@ -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 \ No newline at end of file