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:
parent
d0c4914469
commit
7f536630eb
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue