News for hackers. Stuff that matters.
Re:Ansible 2.1 Released, with Network Automation, Containers by adamors on Thursday May 26, 2016 @11:13AM (#11778522)
I have quite a few variables, yes. One of the files I change frequently is an external configuration file filled with credentials which is managed through variables. It looks something like this:

    {% for cred in credentials %}
    {{cred.key}}: {{cred.value}}
    {% endfor %}
Re:Ansible 2.1 Released, with Network Automation, Containers by mewm on Thursday May 26, 2016 @03:15PM (#11780697)
hey, kind of off-topic, but wouldn't you be able to like this?

  {{ credentials | to_nice_json }}