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