
There have been posts about Ansible on this blog before, so this one will not go into Ansible basics again, but focus on ways to improve your use of variables, often, but not only used together with the template module, showing some of the more involved features its Jinja 2-based implementation offers. The examples are mostly taken right out of our Ansible provisioning for CenterDevice, with only slight adaptations for conciseness.