...
(we use the production key private-key here, as it will end up kind of permanently allowing ssh access to the machine, and we don’t want staging/test key to have access to production machines)
An AMI with ruby on top of ubuntu
...
(used for web servers, may be used for solr server although prob not necessary)
ansible-playook --ask-vault-pass build_ami.yml --private-key=~/.ssh/chf_prod.pem --extra-vars "build=ruby_ami"
...