Fix paramiko connections to hosts with uppercase characters (#35555)

pull/35561/merge
Nathaniel Case 7 years ago committed by GitHub
parent f3337e1fba
commit e8755175d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -324,7 +324,7 @@ class Connection(ConnectionBase):
key_filename = os.path.expanduser(self._play_context.private_key_file)
ssh.connect(
self._play_context.remote_addr,
self._play_context.remote_addr.lower(),
username=self._play_context.remote_user,
allow_agent=allow_agent,
look_for_keys=self.get_option('look_for_keys'),

Loading…
Cancel
Save