You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
247 B

  1. ---
  2. - name: Wait until SSH is available
  3. hosts: all
  4. become: false
  5. gather_facts: false
  6. tasks:
  7. - name: Wait until SSH is available
  8. wait_for:
  9. host: "{{ ansible_host }}"
  10. port: 22
  11. timeout: 240
  12. delegate_to: localhost