On Mon, 06 Mar 2023 15:56:32 +0100
"'Kai Stian Olstad' via Ansible Project"
<[email protected]> wrote:

>      - debug:
>          msg:
>            {{ my | selectattr('vers', 'version', '"5", "<"' }}

This is the correct syntax

    - debug:
        msg: |
          {{ my | selectattr('vers', 'version', '5', '<') }}


-- 
Vladimir Botka

-- 
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/20230306163951.0872d4c9%40gmail.com.

Attachment: pgpKdDsihffjX.pgp
Description: OpenPGP digital signature

Reply via email to