Use wait_for in prepare_junos_tests.yaml (#57073)

This should reduce the amount of time we are waiting for netconf to come
online.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-06-16 16:03:55 -04:00 committed by GitHub
parent d0c4914469
commit 7f536630eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,8 @@
tags: netconf
- name: wait for netconf server to come up
pause:
seconds: 10
tags: netconf
delegate_to: localhost
wait_for:
host: "{{ hostvars[item].ansible_host }}"
port: 830
with_inventory_hostnames: junos