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 tags: netconf
- name: wait for netconf server to come up - name: wait for netconf server to come up
pause: delegate_to: localhost
seconds: 10 wait_for:
tags: netconf host: "{{ hostvars[item].ansible_host }}"
port: 830
with_inventory_hostnames: junos