Using dynamic inventory, access other hosts' variable where "other hosts" are list of hosts

Please refer to the closed issue on Ansible repo: https://github.com/ansible/ansible/issues/11583

So, is the thing I’m trying to achieve impossible? Any suggestion would be most appreciated.

I’m running Ubuntu 15.04, Ansible 2.0.0

Regards,
Boyang