Uses an ansible playbook to create an AWS AMI image.
$ ansible-playbook -v -i inventory create-ami.yml --extra-vars "@application.yml"
The playbook itself is generic, application and VPC specific variables are located in application.yml
.
Role
specified in application.yml
will be applied to the created EC2 instance.