ansible/test/integration/targets/prepare_junos_tests/tasks/main.yml
Paul Belanger 7f536630eb
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>
2019-06-16 16:03:55 -04:00

15 lines
343 B
YAML

---
- debug: msg="START prepare_junos_tests/main.yaml"
- name: Ensure netconf is enabled
junos_netconf:
state: present
connection: network_cli
tags: netconf
- name: wait for netconf server to come up
delegate_to: localhost
wait_for:
host: "{{ hostvars[item].ansible_host }}"
port: 830
with_inventory_hostnames: junos