diff --git a/lib/ansible/modules/network/junos/junos_command.py b/lib/ansible/modules/network/junos/junos_command.py index f08e0050ce..4cb426b255 100644 --- a/lib/ansible/modules/network/junos/junos_command.py +++ b/lib/ansible/modules/network/junos/junos_command.py @@ -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()