Change netconf port in testcase as per test enviornment (#32883)
This commit is contained in:
parent
ceefeeb279
commit
c3636108bc
1 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
- name: Change port
|
||||
junos_netconf:
|
||||
state: present
|
||||
netconf_port: 8080
|
||||
netconf_port: 8022
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -22,19 +22,19 @@
|
|||
- name: idempotent tests
|
||||
junos_netconf:
|
||||
state: present
|
||||
netconf_port: 8080
|
||||
netconf_port: 8022
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
- name: Ensure we can communicate over 8080
|
||||
- name: Ensure we can communicate over 8022
|
||||
junos_command:
|
||||
rpcs:
|
||||
- get-software-information
|
||||
provider: "{{ netconf }}"
|
||||
port: 8080
|
||||
port: 8022
|
||||
|
||||
# This protects against the port override above not being honoured and a bug setting the port
|
||||
- name: Ensure we can NOT communicate over default port
|
||||
|
|
Loading…
Reference in a new issue