You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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.
Michael Peters
unread,
Sep 18, 2014, 10:16:58 AM9/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I prefer to have my application role depend on my database role and
then have my application role setup the things it needs like users and
databases. That way my database role is re-usable for other
applications have their own database and user needs.