Create NAT Instance and attached to Route table Using Ansible

HI Team,

I am creating the VPC using the Ansible Script. Public subnet i can created easily. But the problem. I struggled with the creating NAT instance and attached automatically to the route table as a gateway.

please let us know how to create how to create nat instance and attached that to the route table
using Ansible Script.

Regards
Arunk