Commit graph

54 commits

Author SHA1 Message Date
Gregory Colpart f0ced31efa review default vars 2017-08-18 15:18:33 +02:00
Gregory Colpart 8dbe8bf4ac Quick fix because MySQL install doesn't work anymore on Stretch 2017-08-18 05:06:23 +02:00
Gregory Colpart 2bb7367edf standardization for Debian versions : we use "jessie" or "9 or later" to prepare buster smoothly as possible 2017-08-18 03:50:30 +02:00
Jérémy Lecour efa7e288dd mysql: install cron task for mysqltuer 2017-08-12 12:25:47 -04:00
Jérémy Lecour d15bcc168e mysql: fix mysql optimize tasks 2017-08-12 12:25:47 -04:00
Jérémy Lecour 574cf3ab44 mysql: install mysqltuner from packages 2017-08-12 12:25:47 -04:00
Jérémy Lecour 7d8c198849 mysql: split packages tasks by release 2017-08-12 12:25:47 -04:00
Jérémy Lecour a857045661 mysql: use apg for passwords 2017-08-12 12:25:47 -04:00
Jérémy Lecour 213ad5a606 mysql: log2mail config is owned by log2mail group 2017-08-12 12:25:47 -04:00
Jérémy Lecour 1b32be19c0 mysql script directory is a variable 2017-08-12 11:39:33 -04:00
Jérémy Lecour 9269f1e50d Merge branch 'mariadb-fix-munin-plugin' into unstable 2017-07-20 11:00:24 +02:00
Benoît S. 499b2c7def Added a perl mandatory package
If not installed: install_driver(mysql) failed: Can't locate DBD/mysql.pm in
@INC (you may need to install the DBD::mysql module)
2017-07-20 10:43:13 +02:00
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 65f91f09b0 Disable warnings for mount commands related to /usr read-only 2017-06-12 15:11:40 +02:00
Jérémy Lecour be0fa9176b mysql: add some ansible tags 2017-06-09 09:06:33 +02:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
Jérémy Lecour 37ef790d57 mysql: remount /usr if needed 2017-05-23 15:11:11 +02:00
Jérémy Lecour f45d7ded46 Mysql: cron frequency can be changed 2017-05-19 23:06:12 +02:00
Jérémy Lecour 9fae99f8dc Minor syntax and whitespaces fixes 2017-05-19 22:29:53 +02:00
Jérémy Lecour 033ebaa593 Add tests for many roles 2017-05-18 15:44:21 +02:00
Jérémy Lecour de9d4080cb whitespaces 2017-04-19 10:59:25 +02:00
Jérémy Lecour 68d9490fc0 MySQL: document missing variables in README
* mysql_variant
* mysql_force_new_nrpe_password
2017-04-05 12:14:30 +02:00
Jérémy Lecour b9172350ff Mysql: store NRPE credentials in secure file 2017-04-05 12:10:19 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01: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 8920ff1ee4 Add "always_run: yes" where it's pertinent
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +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 d91b317a50 Install "apg" package where needed 2017-01-12 17:36:59 +01:00
Victor LABORIE 095693582a mysql: fix my-add.sh when no password 2017-01-12 15:15:26 +01:00
Jérémy Lecour 61f5219f48 Improve documentation
Each role has a README and a meta/main.yml file
2017-01-05 18:22:06 +01:00
Victor LABORIE 00aafd8767 mysql: my-add.sh no-interactive was quiet 2017-01-05 15:48:15 +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
Benoît S. be97a92e53 Removes deprecated mysql options. 2017-01-05 11:39:01 +01:00
Victor LABORIE 64e11d789a mysql: rewrite of my-add.sh 2017-01-05 11:27:39 +01:00
Benoît S. d1d4961aa9 Fix #2107. Set character-set-server=utf8. 2017-01-05 10:59:22 +01:00
Jérémy Lecour 15d1b4d6fe MySQL: enable/disable optimize script in weekly crontab 2017-01-03 09:39:31 +01:00
Victor LABORIE c5424683c3 No interactive my-add.sh 2016-12-23 15:59:01 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00
Jérémy Lecour d4a41457cb MySQL: fix typos in my-add.sh 2016-12-21 16:12:29 +01:00
Gregory Colpart 959c6a02a7 Generate zzz_evolinux.cnf only during the first install 2016-12-21 16:12:28 +01:00
Gregory Colpart 075d055849 Translate my-add.sh in english, and copy it in standard path 2016-12-21 16:12:28 +01:00
Gregory Colpart 12daa2b341 use local version of mysqltuner.pl
for some reason (one is because mysqltuner conflict with mariadb)
2016-12-21 16:12:28 +01:00
Gregory Colpart 55433ffc38 s/true/True/ ; s/false/False/ 2016-12-21 16:12:28 +01:00
Gregory Colpart e259c1aaea we don't want == True 2016-12-21 16:12:28 +01:00
Gregory Colpart d0ee40d271 Use new conventions for custom config 2016-12-21 16:12:28 +01:00
Gregory Colpart 839b7e2799 Sync default settings from wiki HowtoMySQL 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
Gregory Colpart a733f8a369 Add mariadb flavor 2016-12-21 16:12:28 +01:00