Commit graph

11 commits

Author SHA1 Message Date
Jérémy Lecour 927dbfa889 MySQL: adapt users on distribution
For Jessie, there is a "debian-sys-maint", that we're using to create "mysqladmin" for root, then delete "root".

For Stretch, the is a "root" without assword, so we create both "mysqladmin" for root and "debian-sys-maint" for Debian scripts, then delete "root".
2017-07-13 14:09:33 +02:00
Jérémy Lecour 0481c51a40 mysql: use /etc/mysql/debian.cnf for configuration 2017-06-12 15:11:40 +02:00
Jérémy Lecour 294cea44e8 Change mode with leading 0, but still as String 2017-03-23 16:59:43 +01:00
Jérémy Lecour 478e9a8272 replace "state: installed" with "state: present" 2017-01-12 17:37:48 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00
Jérémy Lecour 1f29cc14dc mysql: mysql_variant=[oracle/mariadb] 2017-01-05 12:03:53 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00
Gregory Colpart 55433ffc38 s/true/True/ ; s/false/False/ 2016-12-21 16:12:28 +01:00
Gregory Colpart 932812117f as soon as we will use Ansible >= 2.1, we will improve task "remove root user" with host_all: yes 2016-12-21 16:12:28 +01:00
Jérémy Lecour d510f8aee8 Mysql: all hosts must be removed manually
Until Ansible 2.1 we have to loop over all hosts when deleting the root user
2016-12-21 16:12:24 +01:00
Jérémy Lecour 452df44f03 ajoute un rôle mysql
Installation de MySQL, une configuration type Evolix et quelques outils.
Permet le déplacement du datadir (avec restart).
2016-12-21 16:12:01 +01:00