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.

Ubuntu

How to add a PPA repository using Ansible?

To add a PPA repository using Ansible, use Example

ansible

ansible

Install ansible on Ubuntu How to add a PPA repository using Ansible? Ansible multiple hosts behind NAT

Install ansible on Ubuntu

Install ansible on Ubuntu

To install ansible on Ubuntu, run