mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typing issue
This commit is contained in:
parent
64471db94a
commit
c05e7fd83e
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class Runner(object):
|
|||
if self.module_name == 'setup':
|
||||
for (k,v) in inject_vars.iteritems():
|
||||
if not k.startswith('facter_') and not k.startswith('ohai_'):
|
||||
if v.find(" ") != -1:
|
||||
if str(v).find(" ") != -1:
|
||||
v = "\"%s\"" % v
|
||||
args += " %s=%s" % (k, v)
|
||||
|
||||
|
|
Loading…
Reference in a new issue