<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Json_query - Tag - Filipe Felisbino</title><link>https://felisbino.dev/tags/json_query/</link><description>Json_query - Tag - Filipe Felisbino</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 02 Sep 2016 00:00:00 +0000</lastBuildDate><atom:link href="https://felisbino.dev/tags/json_query/" rel="self" type="application/rss+xml"/><item><title>Ansible: Data structure handling and transformation</title><link>https://felisbino.dev/posts/ansible-data-structures/</link><pubDate>Fri, 02 Sep 2016 00:00:00 +0000</pubDate><author>Filipe Felisbino</author><guid>https://felisbino.dev/posts/ansible-data-structures/</guid><description><![CDATA[<p>From time to time I had some dificulties with handling data structures with ansible. Things like converting
a list of dicts to a list of values ( inside a dict ) or even filtering a list aren&rsquo;t always trivial.</p>
<p>Because of that, I&rsquo;ve written a small filter plugin called <code>json_query</code>, that allows you to do some cool
transformations with ansible. The filter uses jmespath ( <a href="http://jmespath.org/" target="_blank" rel="noopener noreffer ">http://jmespath.org/</a> ) a query language for
json data. The plugin is already merged to <code>devel</code> branch and will be released on 2.2 version of ansible.</p>]]></description></item></channel></rss>