Skip to content
Commit 12729fc2 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ansible_freeipa_module: Use ipaplatform.tasks.parse_ipa_version

api_check_ipa_version was using packaging.version. IPA is using
pkg_resources.parse_version in ipaplatform.tasks.parse_ipa_version.

With this change tasks.parse_ipa_version from ipaplatform is used to
have exactly the same version comparison that also IPA has.

Additionally tasks is added to __all__.
parent 9dcff9a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment