mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
fix enabling nxapi for nxos integration testsuite (#27587)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
committed by
John R Barker
parent
914b05c622
commit
1b7ac73c85
@@ -2,9 +2,9 @@
|
|||||||
# NXAPI is enabled differently on NX-OS platforms.
|
# NXAPI is enabled differently on NX-OS platforms.
|
||||||
# Try both commands to enable NXAPI and ignore any errors.
|
# Try both commands to enable NXAPI and ignore any errors.
|
||||||
- name: enable nxapi on remote device
|
- name: enable nxapi on remote device
|
||||||
nxos_config:
|
nxos_feature:
|
||||||
lines:
|
feature: nxapi
|
||||||
- feature nxapi
|
state: enabled
|
||||||
provider: "{{ cli }}"
|
provider: "{{ cli }}"
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user