The ideas for this post were taken from a bunch of resources that I found when I was putting together the limepepper ansible roles on github for zabbix, mysql and apache.

Background

Ansible/jinja/yaml make it really easy to create and pass around lists and dicts as sources of useful things for configuration. The standard filters and

In Chef, as a language that is basically ruby, dealing withs lists and dicts is straightforward.

#!/bin/bash

START_STRING="1 week ago"

fefew

https://blog.crisp.se/2016/10/20/maxwenzin/how-to-append-to-lists-in-ansible

http://www.oznetnerd.com/jinja2-selectattr-filter/