Use python3 for ansible

This commit is contained in:
Wojciech Kozlowski 2022-01-15 10:46:19 +01:00
parent 025eb9e413
commit 7a1313d7f7
2 changed files with 6 additions and 3 deletions

View File

@ -10,3 +10,6 @@
[server]
loki
[server:vars]
ansible_python_interpreter=/usr/bin/python3

View File

@ -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