From b809d23863177a0c2842c313eb89adee5d36862f Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 18 Mar 2016 07:03:54 -0700 Subject: [PATCH] fixed typo --- lib/ansible/plugins/connection/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/connection/__init__.py b/lib/ansible/plugins/connection/__init__.py index 958a3f8f0ae..d1820a2ef38 100644 --- a/lib/ansible/plugins/connection/__init__.py +++ b/lib/ansible/plugins/connection/__init__.py @@ -89,7 +89,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)): shell_type = getattr(self, '_shell_type') else: shell_type = 'sh' - shell_filename = os.path.basename(self.play_context.executable) + shell_filename = os.path.basename(self._play_context.executable) for shell in shell_loader.all(): if shell_filename in shell.COMPATIBLE_SHELLS: shell_type = shell.SHELL_FAMILY