mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
Change default output of NXAPI to text to match CLI (#40607)
* Default output format for nxapi now 'text' * Apply json output to both types of input * Add missing ConnectionError import to cliconf plugins
This commit is contained in:
parent
4cc4d63289
commit
d028a0257a
3 changed files with 10 additions and 6 deletions
|
@ -25,6 +25,7 @@ import time
|
|||
from itertools import chain
|
||||
|
||||
from ansible.module_utils._text import to_bytes
|
||||
from ansible.module_utils.connection import ConnectionError
|
||||
from ansible.module_utils.network.common.utils import to_list
|
||||
from ansible.plugins.cliconf import CliconfBase, enable_mode
|
||||
from ansible.plugins.connection.network_cli import Connection as NetworkCli
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue