mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
add executable if none exists when become
this is needed as become adds commands that require shell
This commit is contained in:
@@ -447,7 +447,7 @@ class PlayContext(Base):
|
|||||||
|
|
||||||
if self.become:
|
if self.become:
|
||||||
|
|
||||||
if executable is None:
|
if not executable:
|
||||||
executable = self.executable
|
executable = self.executable
|
||||||
|
|
||||||
becomecmd = None
|
becomecmd = None
|
||||||
|
|||||||
Reference in New Issue
Block a user