mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -266,7 +266,7 @@ def parse_rpcs(module):
|
||||
items = list()
|
||||
|
||||
for rpc in (module.params['rpcs'] or list()):
|
||||
parts = split(rpc)
|
||||
parts = shlex.split(rpc)
|
||||
|
||||
name = parts.pop(0)
|
||||
args = dict()
|
||||
|
||||
Reference in New Issue
Block a user