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

Minimal role for MySQL / MariaDB #1

Open
alanorth opened this issue May 21, 2015 · 2 comments
Open

Minimal role for MySQL / MariaDB #1

alanorth opened this issue May 21, 2015 · 2 comments

Comments

@alanorth
Copy link
Member

I'm not so much interested in managing all teh things, but rather being able to manage the config files for MySQL server. Ideally the role would at a minimum:

  • allow for a host to choose MySQL or MariaDB
  • allow for managing my.cnf or probably /etc/mysql/conf.d/ilri.conf

I think we should investigate some common best practices for MySQL / MariaDB servers, based on guides like these where Oracle and friends are re-examining the defaults in their products:

@oguya
Copy link
Contributor

oguya commented Jun 12, 2015

We can have one big role - roles/db - which allows you to choose which DBMS(MySQL,PostgreSQL or MariaDB) you'd like to deploy.
Then, you can have a variable - preferred_dbms - which will contain the name of the dbms you'd like to deploy.

@alanorth
Copy link
Member Author

Yes, I think this is similar to how I did XMPP and how we talked of doing web server:

https://github.com/alanorth/ansible-personal/blob/prosody/roles/xmpp/defaults/main.yml#L6

oguya pushed a commit that referenced this issue Jun 15, 2015
According to issue #1 on Github[1], we decided to have one role to
deploy either PostgreSQL, MySQL and or MariaDB depending on
the contents of preferred_dbms variable.

1. #1

Signed-off-by: James Oguya <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants