|
|
@ -25,7 +25,7 @@
|
|
|
|
provider: "{{ nxapi }}"
|
|
|
|
provider: "{{ nxapi }}"
|
|
|
|
username: "{{ nxos_nxapi_user | default('admin') }}"
|
|
|
|
username: "{{ nxos_nxapi_user | default('admin') }}"
|
|
|
|
password: "{{ nxos_nxapi_pass | default('admin') }}"
|
|
|
|
password: "{{ nxos_nxapi_pass | default('admin') }}"
|
|
|
|
host: "{{ inventory_hostname }}"
|
|
|
|
host: "{{ ansible_host }}"
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
|
|
|
|
|
|
|
|
- assert: &true
|
|
|
|
- assert: &true
|
|
|
@ -53,7 +53,7 @@
|
|
|
|
provider: "{{ nxapi }}"
|
|
|
|
provider: "{{ nxapi }}"
|
|
|
|
username: "{{ nxos_nxapi_user | default('admin') }}"
|
|
|
|
username: "{{ nxos_nxapi_user | default('admin') }}"
|
|
|
|
password: "{{ nxos_nxapi_pass | default('admin') }}"
|
|
|
|
password: "{{ nxos_nxapi_pass | default('admin') }}"
|
|
|
|
host: "{{ inventory_hostname }}"
|
|
|
|
host: "{{ ansible_host }}"
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
|
|
|
|
|
|
|
|
- assert: *true
|
|
|
|
- assert: *true
|
|
|
|