Files
ansible-freeipa/roles/ipareplica/files/py3test.py
Thomas Woerner 53d984f1e8 New role for ipareplica installation
The support for external cert files is not complete yet.

Please have a look at the example inventory file inventory/hosts.replica and
also the install and uninstall playbook files install-replica.yml and
uninstall-replica.yml
2018-04-04 16:19:37 +02:00

10 lines
297 B
Python

#!/usr/bin/python3
# Test ipaerver python3 binding
from ipaserver.install.server.replicainstall 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)