8000 Ansible 2.9 throws "AnsibleError: template error while templating string: no filter named 'version_compare'" · Issue #62 · inkatze/wildfly · GitHub
[go: up one dir, main page]

Skip to content
< 8000 link rel="preload" as="image" href="https://github.githubassets.com/assets/copilot-dark-2b28403b6080e898.png"/>

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

Open

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'"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0