From 956937b110f64b56fb3640a56865cab53b025452 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 15 Jun 2015 00:15:31 -0400 Subject: [PATCH] made executable shell configurable again --- lib/ansible/executor/connection_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/executor/connection_info.py b/lib/ansible/executor/connection_info.py index 24e42a97014..08b42b7ce16 100644 --- a/lib/ansible/executor/connection_info.py +++ b/lib/ansible/executor/connection_info.py @@ -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