diff --git a/k8s/initialize.yml b/k8s/initialize.yml index c265d73..f4cc546 100644 --- a/k8s/initialize.yml +++ b/k8s/initialize.yml @@ -7,8 +7,9 @@ tasks: - name: Initialize the control plane shell: kubeadm init --pod-network-cidr={{ POD_NETWORK_CIDR }} --control-plane-endpoint "{{ APISERVER_VIP}}:{{ APISERVER_PORT }}" --upload-certs >> /etc/kubernetes/setup.out - args: chdir $HOME - creates: /etc/kubernetes/setup.out + args: + chdir: $HOME + creates: /etc/kubernetes/setup.out # - name: Reboot machine to finaliza presetup # reboot: # reboot_timeout: 3600 \ No newline at end of file