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:
Trishna Guha 2017-11-28 10:54:23 +05:30 committed by Kedar K
commit 819f9ee8fa
3 changed files with 15 additions and 1 deletions

View file

@ -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

View file

@ -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