mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
change netconf test port from 8080 to 22 (#27761)
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
- name: Change port
|
- name: Change port
|
||||||
junos_netconf:
|
junos_netconf:
|
||||||
state: present
|
state: present
|
||||||
netconf_port: 8080
|
netconf_port: 22
|
||||||
provider: "{{ cli }}"
|
provider: "{{ cli }}"
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
- name: idempotent tests
|
- name: idempotent tests
|
||||||
junos_netconf:
|
junos_netconf:
|
||||||
state: present
|
state: present
|
||||||
netconf_port: 8080
|
netconf_port: 22
|
||||||
provider: "{{ cli }}"
|
provider: "{{ cli }}"
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
@@ -32,11 +32,11 @@
|
|||||||
that:
|
that:
|
||||||
- "result.changed == false"
|
- "result.changed == false"
|
||||||
|
|
||||||
- name: Ensure we can communicate over 8080
|
- name: Ensure we can communicate over 22
|
||||||
junos_command:
|
junos_command:
|
||||||
rpcs: get-software-information
|
rpcs: get-software-information
|
||||||
provider: "{{ netconf }}"
|
provider: "{{ netconf }}"
|
||||||
port: 8080
|
port: 22
|
||||||
|
|
||||||
# This protects against the port override above not being honoured and a bug setting the port
|
# 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
|
- name: Ensure we can NOT communicate over default port
|
||||||
|
|||||||
Reference in New Issue
Block a user