mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 11:54:47 +00:00
library/ipaclient.py: Compatibility to ipa 4.4 and later
This commit is contained in:
@@ -138,10 +138,11 @@ tbd
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
from six.moves.configparser import RawConfigParser
|
from six.moves.configparser import RawConfigParser
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
|
try:
|
||||||
from ipalib.install.sysrestore import SYSRESTORE_STATEFILE
|
from ipalib.install.sysrestore import SYSRESTORE_STATEFILE
|
||||||
|
except ImportError:
|
||||||
|
from ipapython.sysrestore import SYSRESTORE_STATEFILE
|
||||||
from ipaplatform.paths import paths
|
from ipaplatform.paths import paths
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user