diff --git a/lib/ansible/runner/connection/__init__.py b/lib/ansible/runner/connection/__init__.py index 847f9a0227..5a6ee7938f 100644 --- a/lib/ansible/runner/connection/__init__.py +++ b/lib/ansible/runner/connection/__init__.py @@ -40,6 +40,7 @@ class Connection(object): self.runner = runner self.transport = transport self.sudo_user = sudo_user + def connect(self, host, port=None): conn = None if self.transport == 'local':