Working like charm, thanks!

i am little confused, my first and second steps get correct data, but now i 
need to use result[0]...

пятница, 14 ноября 2014 г., 22:53:23 UTC+3 пользователь Romeo Theriault 
написал:
>
> It looks like zabbix is passing back an array containing the json data. 
>
> Try this instead: {{ zabbix_group_id.json.result[0].groupid }}
>
> -- 
> Romeo
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a0901598-a745-49aa-b3a2-0e49f43c13ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to