A lot of applications depend on a database and since databases are used 
very often, we usually have a separate role for installing a database and a 
role for installing an application. So if we have two roles: *db* and *app*, 
and *app* role depends on a database, in which role is it better to created 
the needed database and possibly the database user which is needed for that 
app?

Is it better to create it in the db role, e.g. by passing a variable to the 
db role in the dependency section; or in the app role itself? There are 
advantages and disadvantages to both of these, but we can discuss them 
later on.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7827f80e-8ec7-4f8b-aa95-cd58d9eb17bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to