diff --git a/test/integration/targets/prepare_junos_tests/tasks/main.yml b/test/integration/targets/prepare_junos_tests/tasks/main.yml index e99191374e4a7d..2cae1f2cd56e0f 100644 --- a/test/integration/targets/prepare_junos_tests/tasks/main.yml +++ b/test/integration/targets/prepare_junos_tests/tasks/main.yml @@ -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