devops-coop / ansible-haproxy

Installs and configure HAProxy
Apache License 2.0
96 stars 97 forks source link

template error while templating string: no test named 'false' #12

Closed scottrobertson closed 9 years ago

scottrobertson commented 9 years ago

Getting this when trying to run. This worked on a previous version of ansible, not sure which version it was though (sorry).

I have not changed any haproxy_global stuff

TASK: [info.haproxy | Ensure chroot directory exists] *************************
fatal: [lb0.example.com] => template error while templating string: no test named 'false'

FATAL: all hosts have already failed -- aborting
ansible-playbook --version
# => ansible-playbook 1.8.2
scottrobertson commented 9 years ago

1.7.2 works ok

ahaitoute commented 9 years ago

Hello,

I've fixed this issue. See the pull request. Let me know if the fix works.

Thanks!

PierrePaul commented 9 years ago

Thanks @ahaitoute ! Closing this for now.