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

Co-authored-by: Florian Ruynat <16313165+floryut@users.noreply.github.com>
This commit is contained in:
Kenichi Omichi 2020-10-01 06:16:54 -07:00 committed by GitHub
parent b39a196cfb
commit 19c000c127
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: