mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Merge remote branch 'public/integration' into integration
This commit is contained in:
commit
347637339c
4 changed files with 6 additions and 4 deletions
|
@ -121,7 +121,7 @@ class Runner(object):
|
|||
euid = pwd.getpwuid(os.geteuid())[0]
|
||||
if self.transport == 'local' and self.remote_user != euid:
|
||||
raise Exception("User mismatch: expected %s, but is %s" % (self.remote_user, euid))
|
||||
if type(self.module_args) != str and type(self.module_args) != dict:
|
||||
if type(self.module_args) not in [str, unicode, dict]:
|
||||
raise Exception("module_args must be a string or dict: %s" % self.module_args)
|
||||
|
||||
self._tmp_paths = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue