diff --git a/changelogs/fragments/parimko_ssh-log-message.yaml b/changelogs/fragments/parimko_ssh-log-message.yaml new file mode 100644 index 0000000000..e757e8ac36 --- /dev/null +++ b/changelogs/fragments/parimko_ssh-log-message.yaml @@ -0,0 +1,2 @@ +bugfixes: + - paramiko_ssh - improve log message to state the connection type diff --git a/lib/ansible/plugins/connection/paramiko_ssh.py b/lib/ansible/plugins/connection/paramiko_ssh.py index 2019155d72..1c02b9c0e7 100644 --- a/lib/ansible/plugins/connection/paramiko_ssh.py +++ b/lib/ansible/plugins/connection/paramiko_ssh.py @@ -305,7 +305,7 @@ class Connection(ConnectionBase): raise AnsibleError("paramiko is not installed") port = self._play_context.port or 22 - display.vvv("ESTABLISH CONNECTION FOR USER: %s on PORT %s TO %s" % (self._play_context.remote_user, port, self._play_context.remote_addr), + display.vvv("ESTABLISH PARAMIKO SSH CONNECTION FOR USER: %s on PORT %s TO %s" % (self._play_context.remote_user, port, self._play_context.remote_addr), host=self._play_context.remote_addr) ssh = paramiko.SSHClient()