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
pull/7376/head
Marco Re 11 years ago
parent 41169666b0
commit 712f4a631c

@ -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…
Cancel
Save