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
parent a18b7d9b01
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