Why combine Ansible variables with a Jinja2 template?
It removes the need for any inventory or target selection.
It requires a separate identical template for every host.
It compiles every configuration into a machine-code executable.
One shared file structure can render different final configurations from host- or environment-specific data.