Change default Python version to 3.x
This commit is contained in:
parent
fd4bdf9dcc
commit
864f85a49a
2
hosts
2
hosts
|
@ -2,4 +2,4 @@
|
||||||
foo.example.com
|
foo.example.com
|
||||||
|
|
||||||
[openbsd:vars]
|
[openbsd:vars]
|
||||||
ansible_python_interpreter=/usr/local/bin/python2.7
|
ansible_python_interpreter=/usr/local/bin/python3
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
|
|
||||||
- name: Install ansible's prerequisite
|
- name: Install ansible's prerequisite
|
||||||
# yamllint disable-line rule:line-length
|
# yamllint disable-line rule:line-length
|
||||||
raw: export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(uname -p)/; pkg_add -z python-2
|
raw: export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(uname -p)/; pkg_add -z python-3
|
||||||
|
|
||||||
# vim:ft=ansible
|
# vim:ft=ansible
|
||||||
|
|
Loading…
Reference in New Issue