1
0
Fork 0
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:
Marco Re 2014-05-13 11:29:19 +02:00
parent 41169666b0
commit 712f4a631c

View file

@ -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|"