Commit Graph

150 Commits (5a8f5b74c40d7a9073566362873eb4cc749f1ce6)
 

Author SHA1 Message Date
Emilien Mantel 5a8f5b74c4 Use module mysql_replication instead of command for GTID setup 2021-09-02 14:44:44 +02:00
Emilien Mantel 316ad91c58 Remove useless variable in tests 2021-09-02 14:33:27 +02:00
Emilien Mantel a2a656b6cb Add rsyslog on tests 2021-09-02 14:26:10 +02:00
Emilien Mantel b2c6c5030f Fix service name depending OS version 2021-09-02 14:23:18 +02:00
Emilien Mantel ab8896ba6d Add ansible.posix dependency 2021-09-02 13:59:18 +02:00
Emilien Mantel b2304adc7a Fix TravisCI configuration 2021-09-01 13:59:36 +02:00
Emilien Mantel c011bd8e30 Fix TravisCI badge 2021-09-01 13:50:50 +02:00
Emilien Mantel a052b45073 Modernize TravisCI 2021-09-01 13:49:16 +02:00
Emilien Mantel 1f289107ff Fix ansible lint 2021-09-01 13:47:31 +02:00
Emilien Mantel 4f7f8481bc Fix YAML Lint 2021-09-01 13:36:46 +02:00
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 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
Jasper N. Brouwer e51a980af1 Don't use log_slow_queries for MariaDB 10.0+ (it's deprecated) 2017-07-03 16:00:08 +02:00