Configure bash
Refactor Jinja iterations using iteritems()