Variables, task variables and set_fact

Hello,

can someone help me to understand the behavior?

Playbook:

vars on include_tasks are considered “include params” which is 21 on the precedence chart. set_fact is 19 on that list, and vars on import_tasks are considered “task vars” which are 17.

https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable