mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
We should give pipes.quote() a string every time
This commit is contained in:
parent
591c81e95f
commit
087dbc1ed5
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
# the remote system, which can be read and parsed by the module
|
||||
args_data = ""
|
||||
for k,v in iteritems(module_args):
|
||||
args_data += '%s="%s" ' % (k, pipes.quote(v))
|
||||
args_data += '%s="%s" ' % (k, pipes.quote(text_type(v)))
|
||||
self._transfer_data(args_file_path, args_data)
|
||||
display.debug("done transferring module to remote")
|
||||
|
||||
|
|
Loading…
Reference in a new issue