Skip to content
Snippets Groups Projects
Commit 44b3c300 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

Debian Buster: Fix "No module named 'ipapython'".

When using ipaclient role under Debian 10 (Buster), it is required
that the python interpreter is set to Python 2.7 as freeipa-client
package pulls in Python 2.7 dependencies, and does not work with
Python 3.

This patch adds configuration to properly set python interpreter.

Based on the work by Marc Richter (@The-Judge on Github).

Fix issue #607.
parent c7a3b26e
No related branches found
No related tags found
No related merge requests found
---
# vars/Debian.yml
ipaclient_packages: [ "freeipa-client" ]
# Debian Buster must use python2 as Python interpreter due
# to the way freeipa-client package is defined.
# You must install package python2.7 before executing this role.
ansible_python_interpreter: '/usr/bin/python2'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment