Need help in adding ssh_port dynamically

Hi All,

The dynamic inventory has been implemented with servicenow collections however few servers we are using custom ssh_port rest all servers uses default port 22.Since it’s dynamic inventory is there way to add ssh_port dynamically.

Regards
Kumar