Files
ansible-freeipa/roles/ipaserver/files/py3test.py
Thomas Woerner 079049fa66 New role for ipaserver installation
The support for external cert files is not complete yet.
2017-12-01 13:24:01 +01:00

10 lines
290 B
Python

#!/usr/bin/python3
# Test ipaerver python3 binding
from ipaserver.install.server.install import install_check
# Check ipapython version to be >= 4.6
from ipapython.version import NUM_VERSION, VERSION
if NUM_VERSION < 40590:
raise Exception("ipa %s not usable with python3" % VERSION)