From 104b8a9a7b698e799856e795336bb39e9a7eb240 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 24 Aug 2015 22:18:57 -0400 Subject: [PATCH] avoid hostvars which is not a dict --- test/integration/roles/test_filters/templates/py26json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/roles/test_filters/templates/py26json.j2 b/test/integration/roles/test_filters/templates/py26json.j2 index b87d3c8090b..dba62ad17c7 100644 --- a/test/integration/roles/test_filters/templates/py26json.j2 +++ b/test/integration/roles/test_filters/templates/py26json.j2 @@ -1,2 +1,2 @@ Provoke a python2.6 json bug -{{ hostvars | to_nice_json }} +{{ hostvars[inventory_hostname] | to_nice_json }}