Commit Graph

151 Commits (98237aab2f85565b88a808278d05b5569a0f7645)
 

Author SHA1 Message Date
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 28305720f7 Add collection deps 2024-08-27 14:14:59 +02:00
Emilien Mantel 315d7d36e6 Add ansible libs 2024-08-27 14:14:59 +02:00
Emilien Mantel 1b434618c1 🔨 Modernize lint setup 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 Mantel 69f86f60ba Remove old provision commands 2022-02-28 10:09:58 +01:00
Emilien Mantel fa960ef6a8 Fix Ansible min version 2021-09-02 18:20:48 +02: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 c2758ccd02
Fix Travis Crash (#41) 2020-06-11 12:32:19 +02:00
Emilien Mantel ab76aa019d Reemove thread_concurrency config (deprecated) 2020-01-06 18:40:15 +01: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 Mantel ba8477d8ed Fix tests on galera
Node address supports now upstream/default packages
2019-08-19 17:03:32 +02:00
Emilien Mantel 541cef3d03 Remove useless spaces 2019-08-19 10:53:41 +02: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 Mantel d2f90d90ed Force Python 2.7 on travis 2019-04-19 14:39:30 +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
Clément 8802c6d50d Galera improvements (#28)
* add galera cluster name

* add galera cluster stt method

* disable query cache only when mariadb is 10.0
2018-07-14 11:33:43 +02: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
Emilien Mantel c90556976b Fix travis 2018-02-27 08:13:21 +01:00
Emilien Mantel 533a7e9f08 Vagrant/Ansible uses now 'become' 2018-02-27 07:21:45 +01:00
Georg a4ffcb4ef3 Support systemd distros what use new interface names (#26) 2018-02-19 11:52:39 +01:00
Daniel Bacher ab63c1ccc5 make role python3 compatible (#24) 2018-02-14 13:28:55 +01:00
Emilien Mantel fea0dcffae Donation 2017-12-09 17:10:55 +01:00
Emilien Mantel 4bf07cc4c6 Fix travis 2017-11-03 11:09:18 +01:00
Emilien Mantel 8e256a78ae Fix travis 2017-11-02 15:01:46 +01:00
Emilien Mantel 680141689b TravisCI: allow failure on all galera conf 2017-11-02 14:58:47 +01:00
Emilien Mantel 9481d1b988 Merge pull request #20 from verschoof/patch-1
Quote password en my.cnf
2017-10-27 15:26:36 +02:00
Mitchel e5034f4296 Quote password
Quote password to allow characters like `;`
2017-10-27 15:16:53 +02:00
E Mantel 7617530349 Merge pull request #18 from jaspernbrouwer/debian-stretch-2
Improvements for MariaDB on Debian Stretch
2017-07-06 00:33:44 +02:00
Jasper N. Brouwer d74393a21e Use 5M as innodb_log_file_size for MySQL on Jessie 2017-07-05 21:54:57 +02: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 266af48a9b Use ansible_processor_cores to calculate thread_concurrency 2017-07-03 16:00:11 +02:00
Jasper N. Brouwer ef67883ab2 Proper comment on why changing innodb_log_file_size breaks the system 2017-07-03 16:00:11 +02:00