I have a weird issue where occasionally when I run a playbook that has a
task which uses the {{ ansible_hostname }} variable in it, I get an
error "'ansible_hostname' is undefined". In most cases, if I re-run the
playbook again right after I see the errors, it works fine and I don't see
these errors.

Does anyone know why this might be happening?

Thanks,
Guy

-- 
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CANNH9msH0Qa79nirc9QHx1qhQp04ibh8h1%3DOMS4Cmz77jubKgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to