Here we have the provisioning stuff mixed in with the project. This makes working on a single project really easy because everything we need is there.
Alternatively we could have a single repo which has the provisioning setup for all our infrastructure. The advantage of this is that we could for instance make changes to our whole infrastructure in a single place.
Another alternative is that we could keep the configuration management in the project repos but factor out some common ansible roles and include them via submodules. Eek!
This is a question.
See for example the
provisioning
directory in the morph.io repo: https://github.com/openaustralia/morph/tree/master/provisioningHere we have the provisioning stuff mixed in with the project. This makes working on a single project really easy because everything we need is there.
Alternatively we could have a single repo which has the provisioning setup for all our infrastructure. The advantage of this is that we could for instance make changes to our whole infrastructure in a single place.
Another alternative is that we could keep the configuration management in the project repos but factor out some common ansible roles and include them via submodules. Eek!