From fd5451a5efab1e41de3309c148c66a2be9d68576 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Thu, 30 Apr 2026 03:44:13 +0000 Subject: [PATCH] fix: wait for ssh before gathering facts --- ansible/site.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ansible/site.yml b/ansible/site.yml index 4b5d1ab..3507cd5 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -11,13 +11,16 @@ - name: Bootstrap Kubernetes cluster hosts: cluster become: true - gather_facts: true + gather_facts: false pre_tasks: - name: Wait for SSH wait_for_connection: delay: 10 - timeout: 300 + timeout: 600 + + - name: Gather facts after SSH is reachable + setup: roles: - common