summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2015-01-07 01:29:19 +0100
committerJames Cammarata <jimi@sngx.net>2015-02-17 13:40:10 -0600
commitd5ff09659f71ecab5eb1225a0ea86275fe54fedd (patch)
treeaf5dde402c6dc8863cef1a24560e2b2ba6adee76
parent30ef52c805b2f57c36ea2410411c9a25808e03ed (diff)
downloadansible-d5ff09659f71ecab5eb1225a0ea86275fe54fedd.tar.gz
Fix various inventory scripts to use env python
Fix https://github.com/ansible/ansible/issues/9948
-rwxr-xr-xplugins/inventory/cobbler.py2
-rwxr-xr-xplugins/inventory/freeipa.py2
-rwxr-xr-xplugins/inventory/gce.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/inventory/cobbler.py b/plugins/inventory/cobbler.py
index f607da2dc2..f352c8cf9d 100755
--- a/plugins/inventory/cobbler.py
+++ b/plugins/inventory/cobbler.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""
Cobbler external inventory script
diff --git a/plugins/inventory/freeipa.py b/plugins/inventory/freeipa.py
index ae4ad59fd2..8448df88d9 100755
--- a/plugins/inventory/freeipa.py
+++ b/plugins/inventory/freeipa.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import json
from ipalib import api
diff --git a/plugins/inventory/gce.py b/plugins/inventory/gce.py
index 08a21f12f2..e77178c16b 100755
--- a/plugins/inventory/gce.py
+++ b/plugins/inventory/gce.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2013 Google Inc.
#
# This file is part of Ansible