https://github.com/jeffwidman/ansible-mariadb
https://github.com/jeffwidman/ansible-mariadb
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeffwidman/ansible-mariadb
- Owner: jeffwidman
- License: mit
- Created: 2015-09-28T22:19:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-28T22:39:53.000Z (almost 11 years ago)
- Last Synced: 2025-02-07T12:28:18.402Z (over 1 year ago)
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MariaDB Ansible Role
=========
Configures my.cnf for MariaDB. It does not currently install MariaDB.
I use this for managing my.cnf on servers where MariaDB was installed using
the [Centminmod](http://centminmod.com/) bash script.
If you're using Centminmod, the following roles play well together:
- **[centminmod wrapper](https://github.com/jeffwidman/ansible-centminmod)** (handles basic install + tuning common configuration settings)
- **[mariadb](https://github.com/jeffwidman/ansible-mariadb)** (configures common my.cnf settings)
- **[centminmod-domain-verification](https://github.com/jeffwidman/ansible-centminmod-domain-verification)** (tests that individual domains are configured properly)
- **[php-fpm-pool](https://github.com/jeffwidman/ansible-php-fpm-pool)** (for creating/managing individual php-fpm pools for each PHP app)
Role Variables
--------------
You'll want to tweak `innodb_buffer_pool_size` and possibly
`innodb_buffer_pool_instances`.
The role default settings assume your server is using SSDs. If you're still running
spinning disks, you'll want to lower the `io` variables.
Example Playbook
----------------
- hosts: servers
roles:
- { role: mariadb,
innodb_buffer_pool_size: 1500M,
innodb_buffer_pool_instances: 1,
tags: ['mariadb', 'mysql'] }
License
-------
MIT
Author Information
------------------
Jeff Widman jeff@jeffwidman.com