From 58dbf2446c8308f4c0236ea1e552a7836d778101 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 7 Jan 2015 01:29:19 +0100 Subject: [PATCH] Fix various inventory scripts to use env python Fix https://github.com/ansible/ansible/issues/9948 --- plugins/inventory/cobbler.py | 2 +- plugins/inventory/freeipa.py | 2 +- plugins/inventory/gce.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inventory/cobbler.py b/plugins/inventory/cobbler.py index f607da2dc28..f352c8cf9d2 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 ae4ad59fd26..8448df88d93 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 08a21f12f2b..e77178c16b3 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