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