mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add a timeout to force socket creation on re-setting netconf port (#27801)
This commit is contained in:
parent
fdaa803cca
commit
2ad56c0700
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@
|
|||
- "result.failed == true"
|
||||
- "'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
|
||||
junos_netconf:
|
||||
state: present
|
||||
|
|
Loading…
Reference in a new issue