Hey @Junaid, You can see all the inventory variables defined for the host by running the following command:
ansible-inventory --list --yaml
This would not work if you're using a fact cache. In such a case you need to use a play that gathers facts first and then lists the inventory variables.