mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
multiple fixes nxos (#32903)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
local_file: "./nxos.yaml"
|
||||
file_system: "bootflash:"
|
||||
provider: "{{ cli }}"
|
||||
username: "{{ nxos_cli_user | default('admin') }}"
|
||||
password: "{{ nxos_cli_pass | default('admin') }}"
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
register: result
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
remote_file: "nxos.yaml"
|
||||
file_system: "bootflash:"
|
||||
provider: "{{ cli }}"
|
||||
username: "{{ nxos_cli_user | default('admin') }}"
|
||||
password: "{{ nxos_cli_pass | default('admin') }}"
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
register: result
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
local_file: "./nxos.yaml"
|
||||
file_system: "bootflash:"
|
||||
provider: "{{ nxapi }}"
|
||||
username: "{{ nxos_nxapi_user | default('admin') }}"
|
||||
password: "{{ nxos_nxapi_pass | default('admin') }}"
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
register: result
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
remote_file: "nxos.yaml"
|
||||
file_system: "bootflash:"
|
||||
provider: "{{ nxapi }}"
|
||||
username: "{{ nxos_nxapi_user | default('admin') }}"
|
||||
password: "{{ nxos_nxapi_pass | default('admin') }}"
|
||||
username: "{{ ansible_ssh_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
host: "{{ ansible_host }}"
|
||||
register: result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user