Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database dependency in for tomcat playbook #1282

Open
Natkeeran opened this issue Sep 24, 2019 · 1 comment
Open

Database dependency in for tomcat playbook #1282

Natkeeran opened this issue Sep 24, 2019 · 1 comment
Labels
Type: question asks for support (asks a question)

Comments

@Natkeeran
Copy link
Contributor

I am wondering if the following is a documentation to ansible ticket.

Recent changes necessitate that database be installed for tomcat playbook.

If you are installing tomcat into a separate server, then database.yml or the roles within it would need to be part of the tomcat.yml. This will install the required database in the tomcat server.

We may want to consider a situation where the databases are served from another server as well (i.e we need to configure to enable to connect externally.)

@seth-shaw-unlv
Copy link
Contributor

seth-shaw-unlv commented Sep 24, 2019

This gets at a larger restructuring question. Tomcat doesn't need a database, but Fedora does. However, our playbook assumes that the Tomcat hosts will house Fedora and it's database.

In our local production setup we split the tomcat.yml into both a cantaloupe.yml and fedora.yml and redefined our hosts so that the host getting Drupal and Cantaloupe don't get the database role (because our Drupal is pointing to an existing database server) while the Fedora host does (because we wanted to test the scale of that database on the Fedora machine before making the decision to move it elsewhere).

So, long story short, we really should be using the inventory to get the database on the right hosts rather than adding the database role to the tomcat playbook.

@kstapelfeldt kstapelfeldt added Type: question asks for support (asks a question) and removed question labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: question asks for support (asks a question)
Projects
Development

No branches or pull requests

3 participants