mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update ssh.py
Convert to string to fix runtime error due to string concat in self.common_args += ["-o", "User="+self.user] when ansible_ssh_user is numeric
This commit is contained in:
parent
41169666b0
commit
712f4a631c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Connection(object):
|
|||
self.host = host
|
||||
self.ipv6 = ':' in self.host
|
||||
self.port = port
|
||||
self.user = user
|
||||
self.user = str(user)
|
||||
self.password = password
|
||||
self.private_key_file = private_key_file
|
||||
self.HASHED_KEY_MAGIC = "|1|"
|
||||
|
|
Loading…
Reference in a new issue