mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
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:
committed by
Nathaniel Case
parent
54c64deaab
commit
240de965ee
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user