mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
added missing become_exe from config
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user