Yep. Thank you! A coworker pointed out a similar post: 
https://groups.google.com/forum/#!searchin/ansible-project/felix/ansible-project/C51U547IXwY/2IyoNqCZpTQJ.
 
Sorry I didn't catch that one before I posted my question.

I feared that hostvars dict created in localhost task might not be 
available to the remote host. But that's not the case, it is available and 
it worked.

kallen

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4ccbaae4-13fd-4998-8739-39ceafbc4389%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to