Commit b9642585 by Brian Coca

added missing become_exe from config

parent e156d9b6
...@@ -341,6 +341,7 @@ class PlayContext(Base): ...@@ -341,6 +341,7 @@ class PlayContext(Base):
# set executable to use for the privilege escalation method, with various overrides # set executable to use for the privilege escalation method, with various overrides
exe = self.become_exe or \ exe = self.become_exe or \
getattr(self, '%s_exe' % self.become_method, None) 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 \ getattr(C, 'DEFAULT_%s_EXE' % self.become_method.upper(), None) or \
self.become_method self.become_method
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment