ansible/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