I have a very simple role called “make_vpc” that creates an EC2 VPC. It takes as inputs three variables: region, vpc_name and vpc_cidr_block.
In my playbook I can just set those variables, call the role, and I get a VPC. It’s great!
I have a very simple role called “make_vpc” that creates an EC2 VPC. It takes as inputs three variables: region, vpc_name and vpc_cidr_block.
In my playbook I can just set those variables, call the role, and I get a VPC. It’s great!