From e8755175d7055bcd604c65a2504d988c186174f3 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Fri, 2 Feb 2018 10:08:40 -0500 Subject: [PATCH] Fix paramiko connections to hosts with uppercase characters (#35555) --- lib/ansible/plugins/connection/paramiko_ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/connection/paramiko_ssh.py b/lib/ansible/plugins/connection/paramiko_ssh.py index 8704887bae0..5ca5695032d 100644 --- a/lib/ansible/plugins/connection/paramiko_ssh.py +++ b/lib/ansible/plugins/connection/paramiko_ssh.py @@ -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'),