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:
parent
2b74a17996
commit
80d57ece7b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue