Hi Vladimir,

Thank you.

I will check in higher version and update the status how it works.

On Wed, 21 Jun 2023, 21:59 Vladimir Botka, <[email protected]> wrote:

> On Wed, 21 Jun 2023 11:08:16 +0000
> Aharonu <[email protected]> wrote:
>
> > The conditional check 'data_done' failed. The error was: Unexpected
> > templating type error occurred on ({{ variable_data|
> > selectattr('percent_complete', 'ne', 100) | length == 0 }}): object of
> type
> > 'generator' has no len()
>
> Add the explicit conversion to *list*
>
>   data_done: "{{ variable_data|
>                  selectattr('percent_complete', 'ne', 100)|
>                  list|length == 0 }}"
>
> This has already been fixed. If you can update the latest version.
>
> --
> 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/CANGEjuVt6V5efydaC6WtZA84wmgWUwANy%2BuZ2ZZoBgQyPK-O5w%40mail.gmail.com.

Reply via email to