Skip to content

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

Description

@jadbaz

Ansible 2.9 (released Oct 31) removed the 'version_compare' filter (ref ansible/issues/64174)

As such, the following line from configure.yml:
when: ansible_distribution_version|version_compare(7, '=') and wildfly_manage_firewall
Is throwing the following error:
"AnsibleError: template error while templating string: no filter named 'version_compare'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions