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