Evaluation precedence in conditional expressions

I am new to Ansible and have the following questions, if I have the following conditional, what is going to be parsed first, the filter or the not, were foo is a boolean variable True or False?

when: not foo | bool

Are the following expressions the same?

when: not foo | bool

is the same as

when: not (foo | bool)

Hi Lucio,

The filter would be evaluated first and then the not.

Consider below playbook :

`

Thanks Shivharsh Singh :slight_smile: