Escape or differentiate between jinja template variables in Ansible and <service>.
问题 History: We've been using Ansible to deploy our services and config files over the last few months and we've been making use of the Ansible variables. The variables get placed in our (config_name).yml.j2 files which allows us to easily make changes without having to hard code all of the config. For example in Ansibles group_vars we may have: metric_port_var: "9100" And the (config_name).yml.j2 will contain a line somewhat: EXPOSE_METRIC_PORT={{ metric_port_var}} When the config is deployed