geerlingguy / ansible-role-varnish

Ansible Role - Varnish HTTP accelerator
https://galaxy.ansible.com/geerlingguy/varnish/
MIT License
80 stars 88 forks source link

Ansible 2.9.0 throws "AnsibleError: template error while templating string: no filter named 'version_compare'" #90

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago

The version_compare filter was removed in 2.9 after being deprecated in 2.5. I need to update this role so it works correctly with Ansible 2.9.0 and later, and bump the minimum compatible version to 2.5.

First identified in failed Drupal VM run: https://travis-ci.org/geerlingguy/drupal-vm/jobs/606106643#L2184