Skip to content

Commit

Permalink
Fix paramiko connections to hosts with uppercase characters (ansible#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos authored Feb 2, 2018
1 parent f3337e1 commit e875517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/plugins/connection/paramiko_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def _connect_uncached(self):
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'),
Expand Down

0 comments on commit e875517

Please sign in to comment.