mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-13 12:15:53 +00:00
ansible_freeipa_module: Add missing to_text import for _afm_convert
to_text has not been imported from ansible.module_utils._text but it was used in _afm_convert. The import has been added.
This commit is contained in:
@@ -37,6 +37,7 @@ except ImportError:
|
|||||||
from ipapython.ipautil import run
|
from ipapython.ipautil import run
|
||||||
from ipaplatform.paths import paths
|
from ipaplatform.paths import paths
|
||||||
from ipalib.krb_utils import get_credentials_if_valid
|
from ipalib.krb_utils import get_credentials_if_valid
|
||||||
|
from ansible.module_utils._text import to_text
|
||||||
|
|
||||||
|
|
||||||
def valid_creds(module, principal):
|
def valid_creds(module, principal):
|
||||||
|
|||||||
Reference in New Issue
Block a user