summaryrefslogtreecommitdiffstats
path: root/inventory
diff options
context:
space:
mode:
authorJohn T Skarbek <jtslear@gmail.com>2015-08-05 20:33:33 -0400
committerJohn T Skarbek <jtslear@gmail.com>2015-08-05 20:36:17 -0400
commit598d9355d0ae4088f6afb11a1a12821efd0939f5 (patch)
tree151ad3c8e6478164d66ea8b22a5691247413ec15 /inventory
parentbf01e8911fa875250856d5d554da0cb779195fa8 (diff)
downloadopenshift-598d9355d0ae4088f6afb11a1a12821efd0939f5.tar.gz
openshift-598d9355d0ae4088f6afb11a1a12821efd0939f5.tar.bz2
openshift-598d9355d0ae4088f6afb11a1a12821efd0939f5.tar.xz
openshift-598d9355d0ae4088f6afb11a1a12821efd0939f5.zip
Removes hardcoded python2
* replaces the hard coded items in favor of pulling a users environment * resolves #383 * Feedback and/or additional testing is more than welcome
Diffstat (limited to 'inventory')
-rw-r--r--inventory/aws/hosts/hosts2
-rw-r--r--inventory/gce/hosts/hosts2
-rw-r--r--inventory/libvirt/hosts/hosts2
-rw-r--r--inventory/openstack/hosts/hosts2
4 files changed, 4 insertions, 4 deletions
diff --git a/inventory/aws/hosts/hosts b/inventory/aws/hosts/hosts
index 34a4396bd..bf4e0845a 100644
--- a/inventory/aws/hosts/hosts
+++ b/inventory/aws/hosts/hosts
@@ -1 +1 @@
-localhost ansible_connection=local ansible_sudo=no ansible_python_interpreter=/usr/bin/python2
+localhost ansible_connection=local ansible_sudo=no ansible_python_interpreter='/usr/bin/env python2'
diff --git a/inventory/gce/hosts/hosts b/inventory/gce/hosts/hosts
index 34a4396bd..bf4e0845a 100644
--- a/inventory/gce/hosts/hosts
+++ b/inventory/gce/hosts/hosts
@@ -1 +1 @@
-localhost ansible_connection=local ansible_sudo=no ansible_python_interpreter=/usr/bin/python2
+localhost ansible_connection=local ansible_sudo=no ansible_python_interpreter='/usr/bin/env python2'
diff --git a/inventory/libvirt/hosts/hosts b/inventory/libvirt/hosts/hosts
index 34a4396bd..bf4e0845a 100644
--- a/inventory/libvirt/hosts/hosts
+++ b/inventory/libvirt/hosts/hosts
@@ -1 +1 @@
-localhost ansible_connection=local ansible_sudo=no ansible_python_interpreter=/usr/bin/python2
+localhost ansible_connection=local ansible_sudo=no ansible_python_interpreter='/usr/bin/env python2'
diff --git a/inventory/openstack/hosts/hosts b/inventory/openstack/hosts/hosts
index 9cdc31449..2d2194a4d 100644
--- a/inventory/openstack/hosts/hosts
+++ b/inventory/openstack/hosts/hosts
@@ -1 +1 @@
-localhost ansible_sudo=no ansible_python_interpreter=/usr/bin/python2 connection=local
+localhost ansible_sudo=no ansible_python_interpreter='/usr/bin/env python2' connection=local