Add a timeout to force socket creation on re-setting netconf port (#27801)

pull/25987/head^2
Ricardo Carrillo Cruz 7 years ago committed by GitHub
parent fdaa803cca
commit 2ad56c0700

@ -56,6 +56,10 @@
- "result.failed == true" - "result.failed == true"
- "'unable to open shell' in result.msg" - "'unable to open shell' in result.msg"
- name: wait for persistent socket to timeout, this ensures new socket creation with connection type netconf
pause:
seconds: 30
- name: Set back netconf to default port - name: Set back netconf to default port
junos_netconf: junos_netconf:
state: present state: present

Loading…
Cancel
Save