fix: wait for ssh before gathering facts
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user