From 1b7ac73c8552e5557be490650ee6b447a0be2e91 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Tue, 1 Aug 2017 22:38:44 +0530 Subject: [PATCH] fix enabling nxapi for nxos integration testsuite (#27587) Signed-off-by: Trishna Guha --- test/integration/targets/prepare_nxos_tests/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/targets/prepare_nxos_tests/tasks/main.yml b/test/integration/targets/prepare_nxos_tests/tasks/main.yml index b0f67b5a9a..9dfbd13a03 100644 --- a/test/integration/targets/prepare_nxos_tests/tasks/main.yml +++ b/test/integration/targets/prepare_nxos_tests/tasks/main.yml @@ -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