From 64c5b743a4d0ae08fea2a57ccd8a483307d8c778 Mon Sep 17 00:00:00 2001 From: Aleksey Vazhnov Date: Fri, 15 Jan 2016 14:56:23 +0500 Subject: [PATCH] Compatibility with Ansible 2.0 --- templates/dumpall.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/dumpall.j2 b/templates/dumpall.j2 index 49fac52..7a76cd4 100644 --- a/templates/dumpall.j2 +++ b/templates/dumpall.j2 @@ -19,4 +19,4 @@ GROUPS Variables ("groups"): HOST Variables ("hostvars"): -------------------------------- -{{ hostvars | to_nice_json }} +{{ hostvars[inventory_hostname] | to_nice_json }}