mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
b3b11fbce2
commit
8d962209f4
2 changed files with 3 additions and 2 deletions
|
@ -261,7 +261,9 @@ def prepare_config(commands):
|
||||||
def prepare_commands(commands):
|
def prepare_commands(commands):
|
||||||
""" prepare_commands """
|
""" prepare_commands """
|
||||||
|
|
||||||
jsonify = lambda x: '%s | json' % x
|
def jsonify(x):
|
||||||
|
return '%s | json' % x
|
||||||
|
|
||||||
for cmd in to_list(commands):
|
for cmd in to_list(commands):
|
||||||
if cmd.output == 'json':
|
if cmd.output == 'json':
|
||||||
cmd.command_string = jsonify(cmd)
|
cmd.command_string = jsonify(cmd)
|
||||||
|
|
|
@ -23,7 +23,6 @@ lib/ansible/module_utils/avi.py
|
||||||
lib/ansible/module_utils/azure_rm_common.py
|
lib/ansible/module_utils/azure_rm_common.py
|
||||||
lib/ansible/module_utils/basic.py
|
lib/ansible/module_utils/basic.py
|
||||||
lib/ansible/module_utils/bigswitch_utils.py
|
lib/ansible/module_utils/bigswitch_utils.py
|
||||||
lib/ansible/module_utils/cloudengine.py
|
|
||||||
lib/ansible/module_utils/connection.py
|
lib/ansible/module_utils/connection.py
|
||||||
lib/ansible/module_utils/database.py
|
lib/ansible/module_utils/database.py
|
||||||
lib/ansible/module_utils/docker_common.py
|
lib/ansible/module_utils/docker_common.py
|
||||||
|
|
Loading…
Reference in a new issue