Hi all
I wanted to reach out here in the hope of getting some feedback / ideas
from the Ansible community regarding a little side project I've been
working on lately, an Ansible lookup plugin that can be used to do
hierarchical data lookups against Jerakia. Jerakia is an open source
standalone lookup engine that allows top down hierarchical key value
lookups against a variety of different data sources. This plugins gives
you the ability to perform key value lookups using the facts from the node
as a context for traversing a hierarchy. I did a more complete write up on
this topic here;
https://www.craigdunn.org/2017/08/hierarchical-data-lookups-ansible/
The lookup plugin I wrote for Ansible (
https://github.com/crayfishx/ansible-jerakia) is pretty new, and I'm also
fairly novice with both Python and Ansible itself so there may be many
areas for improvement, and possibly better ways to integrate the two tools
than a lookup plugin(?)
Feel free to raise issues on the GitHub site(s) and of course,
contributions are more than welcome
Thanks
Craig