7f536630eb
This should reduce the amount of time we are waiting for netconf to come online. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
15 lines
343 B
YAML
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
|