mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 13:21:25 -07:00
Initialize sftp variable to fix error on transferless session
This commit is contained in:
parent
2d3c9452c9
commit
1052dd9c8f
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ class Connection(object):
|
||||||
def __init__(self, runner, host, port=None):
|
def __init__(self, runner, host, port=None):
|
||||||
|
|
||||||
self.ssh = None
|
self.ssh = None
|
||||||
|
self.sftp = None
|
||||||
self.runner = runner
|
self.runner = runner
|
||||||
self.host = host
|
self.host = host
|
||||||
self.port = port
|
self.port = port
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue