Use common playbook to wait for SSH (#4734)

This commit is contained in:
Maxime Guyot
2019-05-10 10:25:59 +02:00
committed by Kubernetes Prow Robot
parent 787a9c74fa
commit 5e3bd2dff1
7 changed files with 17 additions and 38 deletions

View File

@@ -22,12 +22,3 @@
template:
src: ../templates/inventory-aws.j2
dest: "{{ inventory_path }}"
- name: Wait until SSH is available
wait_for:
host: "{{ item.public_ip }}"
port: 22
timeout: 300
state: started
delegate_to: localhost
with_items: "{{ ec2.instances }}"