Post-install tasks for EC2 in private subnet

Hi there,

I have an ansible playbook and its purpose is to provision AWS EC2 instances in a private subnet.
The playbook has two parts, the first one is to create the EC2 instance and works fine, however the second part is the post install tasks. How can I execute ansible roles against this EC2 instance ? knowing that it’s in a private subnet ?

Thanks in advance