mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add port arg to establish ssh connection in nxos_file_copy (#33304)
* Add port arg to establish ssh connection in nxos_file_copy Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * resolve kedar's comment
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
connect_ssh_port: "{{ ansible_ssh_port }}"
|
||||
register: result
|
||||
|
||||
- assert: &true
|
||||
@@ -51,6 +52,7 @@
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
connect_ssh_port: "{{ ansible_ssh_port }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
connect_ssh_port: "{{ ansible_ssh_port }}"
|
||||
register: result
|
||||
|
||||
- assert: &true
|
||||
@@ -54,6 +55,7 @@
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
connect_ssh_port: "{{ ansible_ssh_port }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
|
||||
Reference in New Issue
Block a user