mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07: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:
parent
54c64deaab
commit
240de965ee
10 changed files with 168 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue