ansible/test/integration/targets/prepare_junos_tests/tasks/main.yml
Ganesh Nalawade 53abf45cec
Add delay in junos integration test after netconf is enabled (#33899)
junos integration test fails intermittently after task enables netconf
 on the remote host and the second task tries to create a persistent
 connection. Add a delay after the first task to ensure netconf is up
 running on remote host.
2017-12-14 13:48:09 +05:30

13 lines
257 B
YAML

---
- debug: msg="START prepare_junos_tests/main.yaml"
- name: reset persistent connection
meta: reset_connection
- name: Ensure netconf is enabled
junos_netconf:
state: present
- name: wait for netconf server to come up
pause:
seconds: 10