1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/prepare_nxos_tests/tasks/main.yml

10 lines
269 B
YAML
Raw Normal View History

# 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 cli
- feature cli sandbox
provider: "{{ cli }}"
ignore_errors: yes