Fix for junos_netconf test failures in dci (#27776)
This commit is contained in:
parent
25e67d804c
commit
02bcd7c0ed
1 changed files with 8 additions and 2 deletions
|
@ -32,9 +32,14 @@
|
||||||
that:
|
that:
|
||||||
- "result.changed == false"
|
- "result.changed == false"
|
||||||
|
|
||||||
|
- name: wait for persistent socket to timeout, this ensures new socket creation with connection type netconf
|
||||||
|
pause:
|
||||||
|
seconds: 30
|
||||||
|
|
||||||
- name: Ensure we can communicate over 22
|
- name: Ensure we can communicate over 22
|
||||||
junos_command:
|
junos_command:
|
||||||
rpcs: get-software-information
|
rpcs:
|
||||||
|
- get-software-information
|
||||||
provider: "{{ netconf }}"
|
provider: "{{ netconf }}"
|
||||||
port: 22
|
port: 22
|
||||||
|
|
||||||
|
@ -59,7 +64,8 @@
|
||||||
|
|
||||||
- name: Ensure we can communicate over netconf
|
- name: Ensure we can communicate over netconf
|
||||||
junos_command:
|
junos_command:
|
||||||
rpcs: get-software-information
|
rpcs:
|
||||||
|
- get-software-information
|
||||||
provider: "{{ netconf }}"
|
provider: "{{ netconf }}"
|
||||||
|
|
||||||
- debug: msg="END netconf/changeport.yaml"
|
- debug: msg="END netconf/changeport.yaml"
|
||||||
|
|
Loading…
Reference in a new issue