added missing become_exe from config
This commit is contained in:
parent
e156d9b677
commit
b9642585bd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue