Hi,
I try to search the doc and the list to see if it is possible to use the inventory hostname in playbooks (the one specified in /etc/ansible/hosts).
Because in case the name in the inventory doesn't match the remote hostname (/etc/hosts, cname, etc.), the setup module isn't reporting any ansible variable with this info.
Did I miss something ?
Julien.