Include missing _text.to_text import

Fixes "global name 'to_text' is not defined" error on
openbsd clients.

Fixes #18473
This commit is contained in:
Adrian Likins 2016-11-14 10:51:07 -05:00 committed by Brian Coca
parent b08ef44da0
commit 0690a67926

View file

@ -35,7 +35,7 @@ import pwd
from ansible.module_utils.basic import get_all_subclasses
from ansible.module_utils.six import PY3, iteritems
from ansible.module_utils.six.moves import configparser, StringIO
from ansible.module_utils._text import to_native
from ansible.module_utils._text import to_native, to_text
try:
import selinux