From b9642585bd7c04157f0a3dc1d1aaec4f7f1a018b Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 2 Sep 2015 09:52:26 -0400 Subject: [PATCH] added missing become_exe from config --- lib/ansible/playbook/play_context.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/playbook/play_context.py b/lib/ansible/playbook/play_context.py index 6f6d135047..7ffea25f1f 100644 --- a/lib/ansible/playbook/play_context.py +++ b/lib/ansible/playbook/play_context.py @@ -341,6 +341,7 @@ class PlayContext(Base): # set executable to use for the privilege escalation method, with various overrides exe = self.become_exe or \ getattr(self, '%s_exe' % self.become_method, None) or \ + C.DEFAULT_BECOME_EXE or \ getattr(C, 'DEFAULT_%s_EXE' % self.become_method.upper(), None) or \ self.become_method