fix: wait for ssh before gathering facts
This commit is contained in:
+5
-2
@@ -11,13 +11,16 @@
|
|||||||
- name: Bootstrap Kubernetes cluster
|
- name: Bootstrap Kubernetes cluster
|
||||||
hosts: cluster
|
hosts: cluster
|
||||||
become: true
|
become: true
|
||||||
gather_facts: true
|
gather_facts: false
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Wait for SSH
|
- name: Wait for SSH
|
||||||
wait_for_connection:
|
wait_for_connection:
|
||||||
delay: 10
|
delay: 10
|
||||||
timeout: 300
|
timeout: 600
|
||||||
|
|
||||||
|
- name: Gather facts after SSH is reachable
|
||||||
|
setup:
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|||||||
Reference in New Issue
Block a user