From 467ef193fdd28b0a8ee77ad901f702a72958cc62 Mon Sep 17 00:00:00 2001 From: nitzmahone Date: Fri, 10 Jun 2016 14:40:29 -0700 Subject: [PATCH] call base _connect() from winrm._connect() without it, we don't get the base's free become method error check (cherry picked from commit 445a88d3e8af0a11b63ecb4958cb16d2a27e4716) --- lib/ansible/plugins/connection/winrm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/plugins/connection/winrm.py b/lib/ansible/plugins/connection/winrm.py index 3e022a478fc..0eefa79dcf5 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