Once I decided to move all of my websites from to an Apache Virtual Host server that I set up on AWS, I quickly realized I needed a way to create vhost configurations over and over again. Ansible to the rescue. I created a bash script with prompts to quickly allow me to set up and configure new domains that I would migrating to the new host.
Currently available commands:
View Running Hosts will show you all of the Apache hosts inside of the load balancer.
Add New Domain will set create all of the Route 53 records, the new domain's document root, apache vhost config file and then reboot the apache server.
Get Name Servers will return the NS records that are needed to point the domain to the AWS server.
Check it out on GitHub.