Skip to content

Commit

Permalink
Set ansible_python_interpreter to python3 on debian (fix error with m…
Browse files Browse the repository at this point in the history
…itogen)
  • Loading branch information
floryut committed Sep 7, 2020
1 parent f1566cb commit 2e9b16f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/bootstrap-os/tasks/bootstrap-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
when:
- 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
- name: Install dbus for the hostname module
package:
Expand Down

0 comments on commit 2e9b16f

Please sign in to comment.