News for hackers. Stuff that matters.
Re:Ansible 2.1 Released, with Network Automation, Containers by vacri on Thursday May 26, 2016 @09:16AM (#11777636)
>Changing the contents of one file can take ~10 minutes.

O_o

That kind of simple operation just zipped by for me on Ansible 1.6, 1.8, 1.9, and 2.0. The only noticeably slow kinds of operations for me are generally the package installs (understandably). I don't use a ton of variables in my templates, though.

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 }}