summaryrefslogtreecommitdiff
path: root/test/integration/targets/prepare_junos_tests/tasks/main.yml
blob: 2cae1f2cd56e0f77c841eff8f0480362f629824f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- 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