diff --git a/lib/ansible/plugins/connection/__init__.py b/lib/ansible/plugins/connection/__init__.py index 4fc97bad10e..5aba9e4d93a 100644 --- a/lib/ansible/plugins/connection/__init__.py +++ b/lib/ansible/plugins/connection/__init__.py @@ -118,7 +118,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)): # Check if PE is supported if self._play_context.become: - self.__become_method_supported() + self._become_method_supported() @ensure_connect @abstractmethod