Set ansible_python_interpreter to python3 on debian (fix error with mitogen) (#6633)

This commit is contained in:
Florian Ruynat 2020-09-09 00:37:52 +02:00 committed by GitHub
parent 6019a1006c
commit 8e3915f5bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,6 +86,10 @@
when: when:
- need_bootstrap.rc != 0 - need_bootstrap.rc != 0
- name: Set the ansible_python_interpreter fact
set_fact:
ansible_python_interpreter: "/usr/bin/python3"
# Workaround for https://github.com/ansible/ansible/issues/25543 # Workaround for https://github.com/ansible/ansible/issues/25543
- name: Install dbus for the hostname module - name: Install dbus for the hostname module
package: package: