Commit Graph

74 Commits (master)

Author SHA1 Message Date
Emilien Mantel c32411c6e4 🚀 Manage Galera 2024-08-27 14:14:59 +02:00
Emilien Mantel 38c1701310 👷 Fix linter 2024-08-27 14:14:59 +02:00
Emilien Mantel 08119131aa 🎨 Modernize config files 2024-08-27 14:14:59 +02:00
Emilien Mantel 98237aab2f 🐛 Fix ansible mysql calls
due to wokes changes...
2024-08-27 14:14:59 +02:00
Emilien Mantel 4be27557c7 🚨 Fix modernized linter 2024-08-27 14:14:59 +02:00
Emilien Mantel 239ce0dd6c 🐛 Fix unix login issue 2022-03-04 10:56:27 +01:00
Emilien Mantel f7235d38b9 🐛 Fix check if MariaDB upstream is installed 2022-02-28 11:34:39 +01:00
Emilien Mantel 6a9d12c5eb 🎨 Fix linter and delete useless script 2022-02-28 10:59:46 +01:00
Emilien Mantel fe7d09b9cd 💥 Add newer method to setup upstream packages 2022-02-28 10:14:36 +01:00
Emilien M 2089f8eade
New release (#44)
* Manages MariaDB 10.6 + Debian 11
* Fix YAML lint
* Fix ansible lint
* Modernize TravisCI
* Fix service name depending OS version
* Add rsyslog on tests
* Remove useless variable in tests
* Use module mysql_replication instead of command for GTID setup
* Force 'mariadb' as service name if install from upstream
* Rename group vars file and valid YAML lint
* Galera install imrovements
* Do not force galera package name ('galera-3' was hardcoded)
* Prevent some crashes when galera is installed with mariadb at the same
time
* Install galera-3 on Buster + MariaDB from Debian repository
* Use FQDN Ansible modules
2021-09-02 18:17:54 +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