From 72fc9f5cbe26f6cf37949d7f5e1c5896ec635821 Mon Sep 17 00:00:00 2001 From: Sergey Bondarev Date: Fri, 19 May 2017 00:40:13 +0300 Subject: [PATCH] fix deprecation import ansible.vars.unsafe_proxy to ansible.utils.unsafe_proxy --- lib/ansible/template/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: