Create AWS Virtual Private Cloud, Subnets, Internet Gateway, Route tables, Security group and EC2 instances
vars/main.yml
aws_access_key: "" aws_secret_key: "" region: ""
vpc_cidr: 10.10.0.0/24 vpc_name: "Ansible VPC"
subnet_name: "Ansible Subnet" subnet_cidr: 10.10.0.0/25
igw_name: "Traffic IGW"
route_name: "Route table"
securitygroup_name: "Ansible Security Group"
ec2_tag: "WebServer"
#The local path to which we would save our EC2 Private Key ec2_key_directory: "" keypair_name: "xxx"