diff --git a/lib/ansible/template/__init__.py b/lib/ansible/template/__init__.py index 49de8aacc1..83734219c2 100644 --- a/lib/ansible/template/__init__.py +++ b/lib/ansible/template/__init__.py @@ -593,7 +593,7 @@ class Templar: ran = None if ran and not allow_unsafe: - from ansible.vars.unsafe_proxy import UnsafeProxy, wrap_var + from ansible.utils.unsafe_proxy import UnsafeProxy, wrap_var if wantlist: ran = wrap_var(ran) else: