[ansible-project] Re: dumping host_vars - how do I filter out sensitive data?

2015-03-09 Thread Larry Fast
Thanks Dan, I like Ansible/Jinja2's interfaces for writing custom filters. Easy work. As an example for others my code is below with some helpful references. Note: I'm a very junior Pythonian. http://docs.ansible.com/developing_plugins.html#filter-plugins plugins can be shipped in a

[ansible-project] Re: dumping host_vars - how do I filter out sensitive data?

2015-03-06 Thread Dan Vaida
I don't think there's a quick solution for this. I believe you'd need to write your own filter plugin: http://docs.ansible.com/developing_plugins.html#filter-plugins On Thursday, 5 March 2015 16:23:58 UTC+1, Larry Fast wrote: I'm using the following jinja2 code to dump my hostvars for