Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877)

* Replace ansible.module_utils._text by ansible.module_utils.common.text.converters.

* Also adjust tests.
This commit is contained in:
Felix Fontein 2021-06-26 23:59:11 +02:00 committed by GitHub
commit fafabed9e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
249 changed files with 252 additions and 250 deletions

View file

@ -63,7 +63,7 @@ import os
from ansible.plugins.lookup import LookupBase
from ansible.utils.cmd_functions import run_cmd
from ansible.module_utils._text import to_text
from ansible.module_utils.common.text.converters import to_text
ANSIBLE_HIERA_CFG = os.getenv('ANSIBLE_HIERA_CFG', '/etc/hiera.yaml')
ANSIBLE_HIERA_BIN = os.getenv('ANSIBLE_HIERA_BIN', '/usr/bin/hiera')