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
  • Loading branch information
floryut authored and Kenichi Omichi committed Sep 24, 2020
1 parent b39a196 commit 41dcb9f
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 41dcb9f

Please sign in to comment.