Using a variable with a file lookup in a role

Hi,

What is the way variables are resolved in Ansible? I got this non-intuitive result:

hosts:

[group]
host

playbook.yml:

Template evaluation happens every time, there’s not really a way to say “evaluate this just once” because of the way we are doing things via multiprocessing (i.e. in numerous forks that don’t merge data until the end).