the clean module was added later
This commit is contained in:
parent
496d96c01a
commit
d74da84f62
|
@ -54,13 +54,17 @@ import ansible_mitogen.connection
|
||||||
import ansible_mitogen.planner
|
import ansible_mitogen.planner
|
||||||
import ansible_mitogen.target
|
import ansible_mitogen.target
|
||||||
from ansible.module_utils._text import to_text
|
from ansible.module_utils._text import to_text
|
||||||
from ansible.vars.clean import remove_internal_keys
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from ansible.utils.unsafe_proxy import wrap_var
|
from ansible.utils.unsafe_proxy import wrap_var
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from ansible.vars.unsafe_proxy import wrap_var
|
from ansible.vars.unsafe_proxy import wrap_var
|
||||||
|
|
||||||
|
try:
|
||||||
|
from ansible.vars.clean import remove_internal_keys
|
||||||
|
except ImportError:
|
||||||
|
from ansible.vars.manager import remove_internal_keys
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue