mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 06:11:30 +00:00
fix: ensure default values are of type str
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user