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

13 lines
215 B
YAML
Raw Permalink Normal View History

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