kubespray/tests/cloud_playbooks/wait-for-ssh.yml

14 lines
247 B
YAML

---
- name: Wait until SSH is available
hosts: all
become: False
gather_facts: False
tasks:
- name: Wait until SSH is available
wait_for:
host: "{{ ansible_host }}"
port: 22
timeout: 240
delegate_to: localhost