From 9cb8c454632eaec784b2aedcaa7ed0f06af814d7 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Sun, 7 Jan 2024 07:49:13 +0100 Subject: [PATCH] added missing mkdir for post_install folder to other control plane nodes --- control_planes.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/control_planes.tf b/control_planes.tf index efcc38dc..a4055bdd 100644 --- a/control_planes.tf +++ b/control_planes.tf @@ -174,6 +174,9 @@ resource "null_resource" "control_planes" { provisioner "remote-exec" { inline = [ "systemctl start k3s 2> /dev/null", + # prepare the needed directories + "mkdir -p /var/post_install /var/user_kustomize", + # wait for the server to be ready <<-EOT timeout 360 bash < /dev/null; do