summaryrefslogtreecommitdiff
path: root/bin/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ansible')
-rwxr-xr-xbin/ansible6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ansible b/bin/ansible
index 1591e28b63..909e62b40b 100755
--- a/bin/ansible
+++ b/bin/ansible
@@ -17,9 +17,13 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
+try:
+ import json
+except ImportError:
+ import simplejson as json
+
from optparse import OptionParser
import sys
-import json
import os
import getpass
import shlex