Is it possible to associate a host to a variable?

Greetings,

Would you please let me know if there is a way of associating a host with a variable. In other words,

I have in one test inventory file something like his:

nodenameA nodeNumber=1
nodenameB nodeNumber=2

nodenameC nodeNumber=3

This works well when running from the CLI, but as now it is being implemented Ansible Tower, I did not find any reference on guides and forums about this association.

Any thought are welcome to help me find a way out of this association or a way to implement it into Tower.
Regards,
Ed

You can declare variables for individual hosts in tower as well.