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:
Thomas Woerner
2019-10-18 16:39:17 +02:00
parent b16280455c
commit b1a8427132

View File

@@ -37,6 +37,7 @@ except ImportError:
from ipapython.ipautil import run
from ipaplatform.paths import paths
from ipalib.krb_utils import get_credentials_if_valid
from ansible.module_utils._text import to_text
def valid_creds(module, principal):