andrewrothstein / ansible-zookeeper-cluster

MIT License
10 stars 12 forks source link

jinja2 template mishandling new line #4

Closed gggcert closed 5 years ago

gggcert commented 5 years ago

FYI in zoo.cfg.j2 template I had to add in the first line the code:

jinja2: trim_blocks:False

without this the server.1...... line in the configuration file will be a concatenated string of all servers in the cluster

andrewrothstein commented 5 years ago

thanks for the contribution! I published v3.0.0 to the galaxy.