Skip to content

Commit

Permalink
Use wait_for in prepare_junos_tests.yaml (#57073)
Browse files Browse the repository at this point in the history
This should reduce the amount of time we are waiting for netconf to come
online.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
  • Loading branch information
pabelanger committed Jun 16, 2019
1 parent d0c4914 commit 7f53663
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/integration/targets/prepare_junos_tests/tasks/main.yml
Expand Up @@ -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

0 comments on commit 7f53663

Please sign in to comment.