Have you ever seen an Ansible playbook where 90% of the code prepares the environment, and then all the work is done in a few template and assemble modules? Here’s an alternative way of getting that done. Is it better? You tell me ;)
You might also want to explore similar Ansible articles and our Ansible for Networking Engineers content.
Thanks to Ivan Pepelnjak (see source)