Created these things with the help of terraform.
- It will create one VPC with two subnet.
- It will create two machine in differenect subnet.
- It will add entery in NAT gatway and route table.
- Install jenkins and ansible in the public subnet machine .
Note: Not configured jenkins.