From 42b596d18a4b3f1dee2aa830d5b4f3af41b26911 Mon Sep 17 00:00:00 2001 From: unchama <11990197+unchama@users.noreply.github.com> Date: Mon, 11 Sep 2023 22:51:06 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20kubeadm=E3=81=AE=E5=AE=9F=E8=A1=8C?= =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=8C=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=81=BE=E3=81=A7=E5=BE=85=E3=81=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ansible/roles/00-wait-to-host-reachable/tasks/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml b/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml index d3c074b90..0c078b7e9 100644 --- a/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml +++ b/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml @@ -2,5 +2,9 @@ wait_for_connection: timeout: 1200 +- name: Wait until the file /usr/bin/kubeadm is present before continuing + ansible.builtin.wait_for: + path: /usr/bin/kubeadm + - name: Gather facts for first time setup: From 46c03820805b4a1d33935d77a817f32022f7b46f Mon Sep 17 00:00:00 2001 From: unchama <11990197+unchama@users.noreply.github.com> Date: Mon, 11 Sep 2023 22:51:56 +0900 Subject: [PATCH 2/2] feat: add timeout --- .../ansible/roles/00-wait-to-host-reachable/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml b/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml index 0c078b7e9..d2cf52700 100644 --- a/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml +++ b/seichi-onp-k8s/cluster-boot-up/ansible/roles/00-wait-to-host-reachable/tasks/main.yaml @@ -5,6 +5,7 @@ - name: Wait until the file /usr/bin/kubeadm is present before continuing ansible.builtin.wait_for: path: /usr/bin/kubeadm + timeout: 1200 - name: Gather facts for first time setup: