From d5ff09659f71ecab5eb1225a0ea86275fe54fedd 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 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