I'm using an Ansible template to include variables in a SQL import file, and everything was working fine until lately where ansible is now parsing the quotes around variables in the template and eliminating some of them, where it never used to.

For example, the following...

```
INSERT INTO `my_table` VALUES (1, '{{ var.one }}', NULL, '{{ var.two }}');

```

...is now resulting in...

```
INSERT INTO `my_table` VALUES (1, 'value-one, NULL, value-two');

```

Notice that the two single quotes in the middle have been removed. This breaks the SQL. As per the MySQL/ANSI standards, I'm supposed to be using single quotes for string literals, and backticks only for identifiers. So what's the solution here? And does anyone know when this behaviour changed?

I'm using Ansible 2.9.27

---

As requested, here is the simple template task call...

```
- name: Copy SQL Dynamic Data Dump File for import
  template: src=data.sql.j2 dest=/tmp/data.sql

```