mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07: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:
parent
a18b7d9b01
commit
819f9ee8fa
3 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue