1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

add executable if none exists when become

this is needed as become adds commands that require shell
This commit is contained in:
Brian Coca 2016-06-15 11:23:14 -04:00
parent 8c7ceaab81
commit 4acac55d23

View file

@ -447,7 +447,7 @@ class PlayContext(Base):
if self.become:
if executable is None:
if not executable:
executable = self.executable
becomecmd = None