ProjetSigma / provisioning

Provisioning for Projet Sigma server
4 stars 2 forks source link

Add Ansible configuration for MySQL server / client #1

Closed TheBirdie closed 8 years ago

TheBirdie commented 8 years ago

Tested on Debian.

This script:

  1. Sets up MySQL with a random generated password
  2. Imports custom MySQL server / client config
  3. Creates a ".my.cnf" file readable only for root user with root password (no need to type the password on the "mysql" command)
  4. May be used to create custom users / custom databases

Remaining todo list for MySQL config: