diff --git a/lib/ansible/plugins/connection/winrm.py b/lib/ansible/plugins/connection/winrm.py index c8ea880e73..41e81c89a6 100644 --- a/lib/ansible/plugins/connection/winrm.py +++ b/lib/ansible/plugins/connection/winrm.py @@ -232,6 +232,7 @@ class Connection(ConnectionBase): self.protocol.cleanup_command(self.shell_id, command_id) def _connect(self): + super(Connection, self)._connect() if not self.protocol: self.protocol = self._winrm_connect() self._connected = True