mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 21:54:22 -07:00
fix: ensure default values are of type str
This commit is contained in:
parent
478b25c636
commit
bdb9ab354f
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class Connection(ConnectionBase):
|
|||
if self.get_option("project"):
|
||||
local_cmd.extend(["--project", self.get_option("project")])
|
||||
|
||||
uid, gid = (-1, -1) # lxd default values
|
||||
uid, gid = ("-1", "-1") # lxd default values
|
||||
if self.get_option("remote_user") != "root":
|
||||
uid, gid = self._get_remote_uid_gid()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue