From ffa9c1ba92d6c9eafed0d35492ed07cc14363993 Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Sun, 19 Jun 2016 00:01:12 +0200 Subject: [PATCH] extra data for breminale --- models/ansible.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ansible.go b/models/ansible.go index b5a600a..d3b1993 100644 --- a/models/ansible.go +++ b/models/ansible.go @@ -3,7 +3,7 @@ package models type Ansible struct { Nodes []string `json:"nodes"` Meta struct { - HostVars map[string]*AnsibleHostVars `json:"hostvars"` + HostVars map[string]*AnsibleHostVars `json:"hostvars,omitempty"` } `json:"_meta"` } type AnsibleHostVars struct {