mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
Allows delegate_to to use inventory host/port info.
This commit is contained in:
parent
8c3abe7e52
commit
a69e59ab2b
3 changed files with 23 additions and 5 deletions
|
@ -53,7 +53,7 @@ class Connection(object):
|
|||
|
||||
user = self.runner.remote_user
|
||||
|
||||
vvv("ESTABLISH CONNECTION FOR USER: %s" % user, host=self.host)
|
||||
vvv("ESTABLISH CONNECTION FOR USER: %s on PORT %s TO %s" % (user, self.port, self.host), host=self.host)
|
||||
|
||||
ssh = paramiko.SSHClient()
|
||||
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue