Commit Graph

65 Commits (79d6ed7966ab0db2158649d1f13c1022f3a49c48)

Author SHA1 Message Date
Emilien Mantel 79d6ed7966 Manages MariaDB 10.6 + Debian 11 2021-09-01 13:32:10 +02:00
Emilien Mantel 860b212ee0 Hide sensitive data - #43 related
- Add new variable (default: false) to enable debugging (show sensitive
data)
- Set true when working with Vagrant
2021-09-01 12:24:40 +02:00
maximumG ae5cb68a8e
Rolling reboot for Galera PC compatibility (#40)
Co-authored-by: maximumG <none>
Co-authored-by: Emilien M <HanXHX@users.noreply.github.com>
2020-06-13 12:04:18 +02:00
Emilien M 0b4983e090
Full buster optim (#38)
* Remove Stretch and Percona support
* Delete root password management (On Buster, it uses socket auth)
* Fix sync backups files master -> slave
* Cleanup legacy code on replication slave
* Use modern configuration
* Debian buster configuration style
* Drop logrotate management (useless)
* Add new default values in defaults/main.yml (according with MariaDB doc)
* Travis with Ansible 2.8+
* Drop feature "don't replicate mysql database"
* Fully compatible with python3
2019-12-28 19:02:41 +01:00
Emilien M dac586acbe
Support Debian Buster (#34) 2019-08-07 17:41:45 +02:00
Mark Meijerman 9871c214fc resolve ansible deprecation warnings (#35) 2019-06-07 10:25:23 +02:00
Emilien M 1ebc0e9391
Few improvements(#33)
* README update
* Remove useless legacy files
* Small refactoring for Galera Cluster
* Modern Ansible
* Some changes on travis + Vagrant
* Help debug: display all facts
* Fix galera config for docker
2019-04-16 13:55:38 +02:00
Emilien Mantel 1ec3b388a0 Modern Ansible 2019-04-12 09:38:42 +02:00
Emilien Mantel fb4c70827c Manages "host_all" on users 2019-01-25 11:42:04 +01:00
Mitchel e9b46e347e Fix deprecation warning (#30) 2018-11-06 13:41:09 +01:00
Emilien Mantel 60f87713fc Fix idempotence fail
/usr/bin/mariadb is not present on upstream builds
2018-03-17 19:00:21 +01:00
Emilien Mantel adf9e6074f Update somie comments 2018-03-17 18:47:35 +01:00
Emilien Mantel 0b0e395072 Minor changes on GTID 2018-03-17 18:42:08 +01:00
Emilien Mantel cc3bef8bfa Better code display 2018-03-17 18:28:56 +01:00
Emilien Mantel c72c3ac842 Rename mysql_ -> mariadb_ 2018-03-17 17:28:54 +01:00
Emilien Mantel 859bafdb50 Drop MySQL, Percona Server and Jessie support 2018-03-17 17:05:45 +01:00
Emilien Mantel 589754e618
Improve log management (#27)
* New log management (see #25)

- Add logrotate (as optional feature) setup
- Delete obsolete log management (log + log_slow_queries)

* Change log path
2018-03-08 13:01:34 +01:00
Jasper N. Brouwer 3535d8b43a Pin MariaDB packages 2017-07-03 16:00:11 +02:00
Jasper N. Brouwer 5977497809 Add variable to specify the my.cnf template 2017-07-03 16:00:11 +02:00
Jasper N. Brouwer e38f706eb1 Add variables for apt key-server and -ids 2017-07-03 15:51:28 +02:00
Emilien Mantel 546652e46b Fix bootstrap galera according to latest versions 2017-06-28 17:44:17 +02:00
Emilien Mantel 2aec278e00 Stretch support
- Support Debian Stretch (MariaDB debian/upstream + Galera)
- Doc updated
- New travis tests (with Vagrant)
- Drop support of mysql_innodb_additional_mem_pool_size
- Xtrabackup optionnal installation + package name updatable
- Fix many issues with replication (Ansible 2.3)
- Auto-retreive master IP address on tests
- MySQL tools per OS release
2017-06-28 16:23:15 +02:00
Emilien Mantel 80906079c0 Ensure service is started before request it 2017-06-01 16:26:24 +02:00
Emilien Mantel 0f1d2bcdcf Auto install percona apt repos if needed 2017-06-01 15:56:08 +02:00
Emilien Mantel 25fa21021d All variables prexied with "mysql_" 2017-06-01 15:33:09 +02:00
Emilien Mantel 9c0455afe2 Update Percona GPG key 2016-11-09 17:50:15 +01:00
Emilien Mantel 70ffb6db90 Resetup secondary node (galera) 2016-10-03 12:30:26 +02:00
Emilien Mantel 4a5a3ec75c Resetup galera 2016-10-03 12:16:56 +02:00
Emilien Mantel 0f03fbf585 Fix idempotence fail on checking debian.cnf files for galera 2016-09-27 17:37:43 +02:00
Emilien Mantel 1a57dc1cbf Optionnal apt-src on upstream repositories 2016-09-27 16:26:55 +02:00
Emilien Mantel 0d64e53eab Galera must not be restarted after bootstrap first node 2016-09-25 15:29:51 +02:00
Emilien Mantel a98ee0dd0b Galera: bootstrap don't need systemd script helper 2016-09-25 15:18:02 +02:00
Emilien Mantel 89fb9774ee No install_recommends with extra packages 2016-09-25 14:56:42 +02:00
Emilien Mantel a1a40f5ff4 Minor changes 2016-09-25 14:28:10 +02:00
Emilien Mantel 2f560bda96 Don't install percona repository (prevent APT conflicts) 2016-09-25 13:50:30 +02:00
Emilien Mantel 293ee332dd Test playbook execution with travis 2016-09-25 12:47:36 +02:00
Emilien Mantel fc5aa46d94 [GALERA] Install and configuration: first and other nodes 2016-09-23 17:03:13 +02:00
Emilien Mantel d0c3b67f16 [GALERA] Install and configuration OK => wsrep_ready ON 2016-09-23 11:40:35 +02:00
Emilien Mantel 5e38bc02a0 Drop wheezy support 2016-09-23 09:38:19 +02:00
Emilien Mantel 838c787986 Fix deprecation warnings 2016-09-12 10:59:04 +02:00
Emilien Mantel b266e775a8 Correct template path (#8 related) 2016-02-12 09:37:29 +01:00
Emilien Mantel a894efa81a Fix tests while grant access with space char 2016-02-09 17:43:49 +01:00
Emilien Mantel fc85a9d9d6 Fix GTID detection 2016-02-09 17:41:45 +01:00
Emilien Mantel 357f7d1bfb Correct template src. Fixes #8 2016-02-09 17:32:55 +01:00
Emilien Mantel eeae0e82d3 On broken configuration, don't start daemon 2016-01-14 16:58:07 +01:00
Emilien Mantel 3165a1d5ed Better idempotence: apt pkg with present state 2015-08-21 16:16:10 +02:00
Emilien Mantel 5d6abb0dda Role organization:
Delete useless files
percona-xtrbackup is optional on Wheezy (unless you use percona apt)
better organization in mysql vendors
2015-08-21 11:24:37 +02:00
Emilien Mantel 265dc13e50 Restart when config changed 2015-08-21 10:14:23 +02:00
Emilien Mantel 1ee8ca005b Replication tasks in seperated directory 2015-08-21 10:10:27 +02:00
Emilien Mantel 96b3360904 Install tasks in seperated directory 2015-08-21 09:40:44 +02:00