fix enabling nxapi for nxos integration testsuite (#27587)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-08-01 22:38:44 +05:30 committed by John R Barker
parent 914b05c622
commit 1b7ac73c85

View file

@ -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