Commit Graph

139 Commits

Author SHA1 Message Date
Ludovic Poujol 9b3bb39bd0 mysql : Create a default ~root/.my.cnf for compatibility reasons 2021-10-20 16:31:05 +02:00
Jérémy Lecour 2d11580a6e forgotten file 2021-10-06 16:54:52 +02:00
Jérémy Lecour 679875d00b mysql: install python dependencies earlier 2021-10-06 14:43:43 +02:00
Jérémy Lecour 6cb2c66924 mysql: fix task settings temporary mistake 2021-09-30 17:52:49 +02:00
Jérémy Lecour b293cf2cf9 Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
Jérémy Lecour b2f8095d14 mysql: fix task settings temporary mistake 2021-09-30 12:07:39 +02:00
Jérémy Lecour 3de5de5304 mysql: improve Bullseye compatibility 2021-09-30 10:13:11 +02:00
Jérémy Lecour 437d2986ae better python3 modules management 2021-09-29 18:39:29 +02:00
Jérémy Lecour 0cab062431 kill/list all queries at once 2021-09-01 17:41:27 +02:00
Jérémy Lecour e76f2fe448 mysql-queries-killer: use a config file 2021-08-31 11:58:52 +02:00
Jérémy Lecour e45ee59801 mysql: script "mysql-queries-killer.sh" to kill MySQL queries 2021-08-30 14:05:15 +02:00
Eric Morino ca7d8e9739 Add variable mysql_performance_schema and configuration in evolinux_custom template
continuous-integration/drone/push Build is passing Details
2021-08-17 15:11:10 +02:00
Jérémy Lecour bf49ec8df5 mysql: script "mysql_connections" to display a compact list of connections
continuous-integration/drone/push Build is passing Details
2021-07-08 15:10:35 +02:00
Jérémy Lecour 2c441f176a mysql: mariadb-client-10.5 on Debian 11 2021-07-02 21:11:27 +02:00
Jérémy Lecour c5bb8f06ae mysql: use python3 with Debian 11 and later 2021-07-02 21:10:52 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 485ec39674 Use 'loop' syntax instead of 'with_nested' 2021-05-04 14:29:50 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour 94a5d7daa2 mysql: variable to disable myadd script overwrite (default: True)
continuous-integration/drone/push Build is passing Details
2021-04-23 14:59:29 +02:00
Jérémy Lecour 86d59cbb5f mysql: install save_mysql_processlist script 2020-11-24 13:59:04 +01:00
Ludovic Poujol 7a37167e20 mysql: fix typo in restart handler
continuous-integration/drone/push Build is passing Details
2020-10-29 10:42:57 +01:00
Ludovic Poujol 4de33e41b5 mysql: fix typo in restart handler
continuous-integration/drone/push Build is passing Details
2020-10-29 10:41:33 +01:00
Patrick Marchand 0fee07f47e Fix variable par défaut manquante dans mysql
continuous-integration/drone/push Build is passing Details
Le lower_case_table_names doit être mis à Null pour que le check marche.
2020-06-10 10:37:36 -04:00
Patrick Marchand 8c1e40c1a9 Add option to make a mysql install read only
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
Rebased on unstable
2020-06-01 12:03:23 -04:00
Patrick Marchand 5b9cc3af31 Added mysql_innodb_log_file_size option to the mysql role
Makes it possible to have larger binary entries when replicating.
2020-06-01 12:01:01 -04:00
Patrick Marchand 1a96616f42 Fix right problem in mysql replication
The configuration file was not set to 0644, which caused the file
to be ignored by mysql and it's configuration not to be set.
2020-06-01 12:01:01 -04:00
Patrick Marchand b80f3993ae Added some mysql variables and allowed forcing config update
The default behaviour is kept, but this way we can manage a mysql
installation from ansible.
2020-06-01 12:01:01 -04:00
Patrick Marchand d15819fb04 Replication should set a binlog format
This could possible be better served in the base config file, but
for now I'll keep it here.
2020-06-01 12:01:01 -04:00
Patrick Marchand 6289c7fe1c Removed redundant nagios checks
They are already installed by the base roles.
2020-06-01 12:01:01 -04:00
Patrick Marchand 45fba1f878 Removed useless dbadmin script from mysql replication tasks
It was used by a very specific client case and is not needed for a
general role.
2020-06-01 12:01:01 -04:00
Patrick Marchand c319be2542 Make it possible for mysql role to copy evolix scripts
Based myself off of the webapps/evoadmin-web role, but I'm not sure
we still consider this a hack or not. We use a read only /usr fs,
so we need to remount it to add scripts in /usr/local/share.
2020-06-01 12:01:01 -04:00
Patrick Marchand 31f002f9d9 Added option to prepare mysql servers for replication 2020-06-01 12:01:01 -04:00
Jérémy Lecour 1e3ac40167 mysql: Munin must use the debian-sys-maint user
continuous-integration/drone/push Build is passing Details
2020-03-08 22:15:06 +01:00
Jérémy Lecour ddef475778 mysql: add a missing name to a task 2020-03-08 22:14:40 +01:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour eded11f88f Change "|search" with "is search" 2019-12-31 16:18:56 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Jérémy Lecour a9b61161e0 fix typos
continuous-integration/drone/push Build is passing Details
2019-10-24 15:55:40 +02:00
Jérémy Lecour bea11352be Merge branch 'buster' into unstable 2019-09-23 18:34:35 +02:00
Patrick Marchand 0009272462 Allow setting a custom mysql server_id 2019-09-12 11:46:12 -04:00
Patrick Marchand cf83732946 The mysql readme had an erroneous line removal 2019-09-12 08:59:04 -04:00
Patrick Marchand 109191ccd8 Added mysql_log_bin variable to enable binary logs 2019-09-12 08:54:18 -04:00
Benoît S. 771c75c1de all-roles: Dot not use ansible_lsb as it is deprecated
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is passing Details
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
2019-07-03 09:41:35 +02:00
Jérémy Lecour f5ad70a2e4 Merge branch 'unstable' into buster
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is passing Details
2019-07-01 17:19:35 +02:00
Eric Morino 1b972caa83 Add install package percona-toolkit by default
continuous-integration/drone/push Build encountered an error Details
2019-06-26 18:12:39 +02:00
Jérémy Lecour c147a4674d mysql : mytop dependencies for buster
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2019-06-26 17:46:36 +02:00
Jérémy Lecour bee57a0b3c change distribution release codename
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is failing Details
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
2019-06-18 17:35:28 +02:00