A small rephrase as my statement above is not fully true:

hostvars are templated but restricted to variables in the hostvars for
that host itself, so hostvars that depend on variables in other scopes
are not templated. Under the hood templating fails but this is non
fatal as we expect it often, so we return the original template.
Using the vars directly in the context of the host elsewhere will '
just work'TM as there the rest of the vars exist in that context.

----------
Brian Coca (he/him/yo)

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7f2mPYfieKP6XXHPUf_B2jevJAUG_fdEREBXy98J-Zo1Q%40mail.gmail.com.

Reply via email to