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

made executable shell configurable again

This commit is contained in:
Brian Coca 2015-06-15 00:15:31 -04:00
parent 580993fef7
commit 956937b110

View file

@ -297,7 +297,7 @@ class ConnectionInformation:
return new_info
def make_become_cmd(self, cmd, executable='/bin/sh'):
def make_become_cmd(self, cmd, executable=C.DEFAULT_EXECUTABLE):
""" helper function to create privilege escalation commands """
prompt = None