Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible 2.9.x throws error "template error while templating string: no filter named 'version_compare'." #55

Closed
cpxPratik opened this issue Nov 19, 2019 · 0 comments · Fixed by #58

Comments

@cpxPratik
Copy link

The version_compare filter was removed in v2.9 after being deprecated in version 2.5.
Please update the role as specified here, #48

Quick solution,

sudo add-apt-repository ppa:ansible/ansible-2.8
sudo add-apt-repository --remove ppa:ansible/ansible
sudo apt update
sudo apt remove ansible
sudo apt install ansible
ansible --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant