Fix nxos_acl module and add IT tests (#25966)

* Fix nxos_acl module and add IT tests

* Add nxos_acl test

* Add additional properties to test
This commit is contained in:
Mike Wiebe 2017-06-29 14:55:08 -04:00 committed by Nathaniel Case
commit 240de965ee
10 changed files with 168 additions and 6 deletions

View file

@ -227,8 +227,7 @@ from ansible.module_utils.basic import AnsibleModule
def execute_show_command(command, module):
if module.params['transport'] == 'cli':
command += ' | json'
command += ' | json'
cmds = [command]
body = run_commands(module, cmds)
return body