mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 15:29:10 -07:00
Fix paramiko connections to hosts with uppercase characters (#35555)
This commit is contained in:
parent
f3337e1fba
commit
e8755175d7
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ class Connection(ConnectionBase):
|
||||||
key_filename = os.path.expanduser(self._play_context.private_key_file)
|
key_filename = os.path.expanduser(self._play_context.private_key_file)
|
||||||
|
|
||||||
ssh.connect(
|
ssh.connect(
|
||||||
self._play_context.remote_addr,
|
self._play_context.remote_addr.lower(),
|
||||||
username=self._play_context.remote_user,
|
username=self._play_context.remote_user,
|
||||||
allow_agent=allow_agent,
|
allow_agent=allow_agent,
|
||||||
look_for_keys=self.get_option('look_for_keys'),
|
look_for_keys=self.get_option('look_for_keys'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue