@davidneudorfer @intelligence - Saw this conversation and wanted to reply. I am currently in the same boat trying to find the best way to handle this.
I am finishing up a CloudFormation object that uses EC2’s behind an ELB with Auto Scaling and an RDS. I was considering building in and testing this workflow as part of the Cloudformation LaunchConfiguration:
- Install PIP && Ansible
- Clone Trellis from Github
- run
server.yml
to provision the server (maybe minus the DB setup since I am using an RDS)
The only part in my head I am hung up on that would fail is the part that uses the local site config files in group_vars
per environment. Seems like I would have to curate separate configs and have them live on S3 or something and curl those also depending on the project which isn’t exactly nice either.
Just my two cents and currently where I am at with this same situation. If either of you had any luck with a similar setup I’d be happy to hear about it.
Matt