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

14 lines
247 B
YAML
Raw Permalink Normal View History

---
- 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