mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-18 09:27:34 -02:30
Use common playbook to wait for SSH (#4734)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
787a9c74fa
commit
5e3bd2dff1
12
tests/cloud_playbooks/wait-for-ssh.yml
Normal file
12
tests/cloud_playbooks/wait-for-ssh.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: False
|
||||
gather_facts: False
|
||||
|
||||
tasks:
|
||||
- name: Wait until SSH is available
|
||||
wait_for:
|
||||
host: "{{ ansible_ssh_host }}"
|
||||
port: 22
|
||||
timeout: 240
|
||||
delegate_to: localhost
|
||||
Reference in New Issue
Block a user