Ansible multiple hosts behind NAT port forwarding

I have 2 servers behind NAT, so they share the same IP address, SSH service runs on two different ports.