2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 17:24:04 +00:00
bench/playbooks/roles/mariadb
Ameya Shenoy de94469581
feat(ubuntu 18): Add support for Ubuntu 18.04
- added ubuntu 18 in the list of supported OS for the easy install
script
- ensured the install script for mariadb which works on ubuntu xenial
also works on ubuntu bionic
- sidenote: prevented pip from installing requests, since a system
package is already installed in centos 7

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-09-16 22:59:09 +05:30
..
defaults mariadb fixes 2018-06-09 10:01:45 +00:00
files increased default max_packet_size to 256M 2018-04-09 15:11:55 +05:30
handlers mariadb fixes 2018-06-09 10:01:45 +00:00
tasks feat(ubuntu 18): Add support for Ubuntu 18.04 2018-09-16 22:59:09 +05:30
templates mariadb fixes 2018-06-09 10:01:45 +00:00
vars mariadb fixes 2018-06-09 10:01:45 +00:00
README.md mariadb fixes 2018-06-09 10:01:45 +00:00

Ansible Role: MariaDB

Installs MariaDB

Supported platforms

CentOS 6 & 7
Ubuntu 14.04
Ubuntu 16.04
Debain 9

Post install

Run mysql_secure_installation

Requirements

None

Role Variables

MariaDB version:

mariadb_version: 10.2

Configuration template:

mysql_conf_tpl: change_me

Configuration filename:

mysql_conf_file: settings.cnf

Experimental unattended mysql_secure_installation

ansible-playbook release.yml --extra-vars "mysql_secure_installation=true mysql_root_password=your_very_secret_password"

Dependencies

None

Example Playbook

- hosts: servers
  roles:
    - { role: mariadb }

Credits