summaryrefslogtreecommitdiffstats
path: root/inventory
diff options
context:
space:
mode:
authorLénaïc Huard <lenaic@lhuard.fr>2015-01-12 09:51:30 +0100
committerLénaïc Huard <lhuard@amadeus.com>2015-02-19 17:45:51 +0100
commitc589981c50ff68d95ffd5287c3dccb8e28822a47 (patch)
treef91616561c9695d270b6bca4819ce984ede558c4 /inventory
parent81db3db61f911cbbc6ff8f88b90cecb870c41381 (diff)
downloadopenshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.tar.gz
openshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.tar.bz2
openshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.tar.xz
openshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.zip
Explicitely use python2
Some distributions are using python3 as the default python. On those ones, we need to explicitely use python2.
Diffstat (limited to 'inventory')
-rwxr-xr-xinventory/aws/ec2.py2
-rwxr-xr-xinventory/gce/gce.py2
-rwxr-xr-xinventory/multi_ec2.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/inventory/aws/ec2.py b/inventory/aws/ec2.py
index 84841d3f0..9a99d91ea 100755
--- a/inventory/aws/ec2.py
+++ b/inventory/aws/ec2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
'''
EC2 external inventory script
diff --git a/inventory/gce/gce.py b/inventory/gce/gce.py
index e77178c16..3403f735e 100755
--- a/inventory/gce/gce.py
+++ b/inventory/gce/gce.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Copyright 2013 Google Inc.
#
# This file is part of Ansible
diff --git a/inventory/multi_ec2.py b/inventory/multi_ec2.py
index 499264267..5dee7972b 100755
--- a/inventory/multi_ec2.py
+++ b/inventory/multi_ec2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# vim: expandtab:tabstop=4:shiftwidth=4
from time import time