Use common playbook to wait for SSH (#4734)

This commit is contained in:
Maxime Guyot
2019-05-10 10:25:59 +02:00
committed by Kubernetes Prow Robot
parent 787a9c74fa
commit 5e3bd2dff1
7 changed files with 17 additions and 38 deletions

View 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