929490ff8c
Change-Id: Id229a8de97f08ebca3aff04aa612cd922a73e9a6
11 lines
274 B
YAML
11 lines
274 B
YAML
---
|
|
# file: wait_for_servers.yml
|
|
- hosts: localhost
|
|
connection: local
|
|
gather_facts: no
|
|
user: ubuntu
|
|
become: true
|
|
tasks:
|
|
- wait_for: port=22 host="{{ hostvars[item]['ansible_ssh_host'] }}" search_regex=OpenSSH delay=10
|
|
with_items: "{{ groups['infra'] }}"
|