2017-08-02 07:58:34 +02:00
|
|
|
---
|
|
|
|
- debug: msg="START prepare_junos_tests/main.yaml"
|
|
|
|
|
|
|
|
- name: Ensure netconf is enabled
|
|
|
|
junos_netconf:
|
|
|
|
state: present
|
2018-01-08 13:28:47 +01:00
|
|
|
connection: network_cli
|
2018-08-14 14:43:21 +02:00
|
|
|
tags: netconf
|
2017-12-14 09:18:09 +01:00
|
|
|
|
|
|
|
- name: wait for netconf server to come up
|
2019-06-16 22:03:55 +02:00
|
|
|
delegate_to: localhost
|
|
|
|
wait_for:
|
|
|
|
host: "{{ hostvars[item].ansible_host }}"
|
|
|
|
port: 830
|
|
|
|
with_inventory_hostnames: junos
|