Commit Graph

38 Commits (357fec1edebc58c3b6193471caa9a950e7b99f70)

Author SHA1 Message Date
Steven Wheeler 357fec1ede
Only manage databases and users from primary node 2022-05-09 16:40:59 -05:00
Emilien Mantel 239ce0dd6c 🐛 Fix unix login issue 2022-03-04 10:56:27 +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
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 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 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 5977497809 Add variable to specify the my.cnf template 2017-07-03 16:00:11 +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 4a5a3ec75c Resetup galera 2016-10-03 12:16:56 +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 838c787986 Fix deprecation warnings 2016-09-12 10:59:04 +02:00
Emilien Mantel a894efa81a Fix tests while grant access with space char 2016-02-09 17:43:49 +01:00
Emilien Mantel eeae0e82d3 On broken configuration, don't start daemon 2016-01-14 16:58:07 +01: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
Emilien Mantel 8a8966a3f8 Better master and support MariaDB GTID 2015-08-11 11:26:56 +02:00
Emilien Mantel 16b105786b Replication OK (transfert from another git repo) 2015-08-11 10:23:53 +02:00
Emilien Mantel 7eed88df04 New configuration method 2015-08-10 23:45:01 +02:00
Emilien Mantel 446997f69b Rename config file (easier to add more files) 2015-08-09 12:21:00 +02:00
Emilien Mantel faa63a96d4 mysql users with host management 2015-08-08 13:02:59 +02:00
Emilien Mantel ee296f5cf8 Ensure MySQL is started 2015-08-07 23:34:47 +02:00
Emilien Mantel 1da1c01446 MySQL and Percona works 2015-07-13 12:32:49 +02:00
Emilien Mantel 7b2439e590 Default MySQL works on jessie 2015-07-12 12:47:44 +02:00
Emilien Mantel 4e7528300e Import tasks/defaults/templates/readme from old repo 2015-07-12 11:52:16 +02:00
Emilien Mantel 4955653d48 first commit 2015-07-12 10:42:46 +02:00