mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +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.
|
||||
# Try both commands to enable NXAPI and ignore any errors.
|
||||
- name: enable nxapi on remote device
|
||||
nxos_config:
|
||||
lines:
|
||||
- feature nxapi
|
||||
nxos_feature:
|
||||
feature: nxapi
|
||||
state: enabled
|
||||
provider: "{{ cli }}"
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user