Thanks all!

On Fri, Nov 15, 2019 at 11:56 AM Vladimir Botka <[email protected]> wrote:

> On Fri, 15 Nov 2019 11:28:44 -0500
> Sam Doran <[email protected]> wrote:
>
> > Vlado,
> > You're not missing anything. The version_compare test still exists, is
> not
> > deprecated, and is fine to use — just not as a filter.
> > We used to register tests as filters. Since we no longer do this, Jinja
> > raises an error that version_compare is not a valid filter, which is
> > accurate.
> > Sam
>
> Sam,
>
> thank you very much for the clarification!
>
> For the record, quoting from *Ansible 2.9 "Immigrant Song" Release Notes*
>
> https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id2
>
>   * Jinja tests - Remove deprecated functionality of registering tests as
>     filters (https://github.com/ansible/ansible/issues/55319)
>
> (This explains the error in 2.9: "no filter named 'version_compare'")
>
>         -vlado
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/20191115195638.3d40a74e%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAHKi8Cg4%3DwmFb3w2LHuK4DKgAvRSf-96C7ZuY45p1DY3eW9xrA%40mail.gmail.com.

Reply via email to