From c589981c50ff68d95ffd5287c3dccb8e28822a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9na=C3=AFc=20Huard?= Date: Mon, 12 Jan 2015 09:51:30 +0100 Subject: Explicitely use python2 Some distributions are using python3 as the default python. On those ones, we need to explicitely use python2. --- inventory/aws/ec2.py | 2 +- inventory/gce/gce.py | 2 +- inventory/multi_ec2.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'inventory') 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 -- cgit v1.2.3