* [stable-2.7] Improve log message (#49004)
This is the only connection plugin that doesn't state explicitly what it is in the log.
(cherry picked from commit 8f9ced4005
)
Co-authored-by: Sam Doran <sdoran@redhat.com>
* Add changelog
This commit is contained in:
parent
47e0d29a59
commit
832aa98ace
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/parimko_ssh-log-message.yaml
Normal file
2
changelogs/fragments/parimko_ssh-log-message.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- paramiko_ssh - improve log message to state the connection type
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue