浏览代码

Merge pull request #428 from jtslear/issue-383

Removes hardcoded python2
Thomas Wiest 9 年之前
父节点
当前提交
420ce5b142
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      inventory/aws/hosts/hosts
  2. 1 1
      inventory/gce/hosts/hosts
  3. 1 1
      inventory/libvirt/hosts/hosts
  4. 1 1
      inventory/openstack/hosts/hosts

+ 1 - 1
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'

+ 1 - 1
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'

+ 1 - 1
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'

+ 1 - 1
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