Closed puntonim closed 10 years ago
Good call, it does seem cleaner from user perspective. Then calling site.yml
from gce.yml
and aws.yml
, right?
I would get rid of site.yml
because this name is too generic in this case. And I'll add/edit aws.yml
and gce.yml
such that they start and provision a new machine first and then they call biostar.yml
. I'll do it when I'm done with other high priority things.
The reason why I chose to stick with site.yml
is because it's stated on Ansible's best practice docs:
http://docs.ansible.com/playbooks_best_practices.html#directory-layout
In order to comply with the "least surprise" principle, I would keep site.yml
anyway, but I'll ask around and see what the community has to say about that.
@nimiq, In case you missed it, here's the response of the actual main author of Ansible, Michael Dehaan:
https://groups.google.com/forum/#!topic/ansible-project/WWRit56iYrg
Ok, Michael recommends to keep the provisioning playbooks separate. Which means the solution I proposed or 2 different GitHub repos? Did you get that @brainstorm?
We want to be able to deploy to different cloud services.
@brainstorm suggests something like:
But, why not the following?