1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix junos_command.py network module to support spaces in rpc args (#48343)

* Fix junos_command.py network module to support spaces in rpc args

*  Fix junos_command.py network module to support spaces in rpc args
This commit is contained in:
vanyasvl 2018-11-13 15:03:48 +10:00 committed by Sumit Jaiswal
parent 2b74a17996
commit 80d57ece7b

View file

@ -266,7 +266,7 @@ def parse_rpcs(module):
items = list() items = list()
for rpc in (module.params['rpcs'] or list()): for rpc in (module.params['rpcs'] or list()):
parts = split(rpc) parts = shlex.split(rpc)
name = parts.pop(0) name = parts.pop(0)
args = dict() args = dict()