Hi,
I've recently updated from 1.9.1 to 2.0.2.0. I use the template module a lot to build configs for my app. After updating, when I generate my templates, the data structure variables are being rendered as unicode strings.
Versions:
ansible 2.0.2.0
PyYAML==3.11
Jinja2==2.8
Example:
File with variables:
app.config.j2
ansible command:
ansible localhost -m template -a "src=app.config.j2 dest=/tmp/app.config"
Contents of app.config:
What I used to get: (Version 1.9.1)
If I change my env file to be a string, then the file gets generated how it used to be.
This also happens when I try creating dictionaries and nested dictionaries. Any ideas on what could be causing this, or how I can fix it?
Henry