Use python3 for ansible
This commit is contained in:
parent
025eb9e413
commit
7a1313d7f7
@ -9,4 +9,7 @@
|
|||||||
# appropriate entries to /etc/hosts.
|
# appropriate entries to /etc/hosts.
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
loki
|
loki
|
||||||
|
|
||||||
|
[server:vars]
|
||||||
|
ansible_python_interpreter=/usr/bin/python3
|
||||||
|
@ -12,5 +12,5 @@
|
|||||||
ansible_port: "{{ default_ssh_port }}"
|
ansible_port: "{{ default_ssh_port }}"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install python2
|
- name: Install python
|
||||||
raw: apt-get -y install python python-pip python-setuptools
|
raw: apt-get -y install python3 python3-pip python3-setuptools
|
||||||
|
Reference in New Issue
Block a user