Commit Graph

56 Commits

Author SHA1 Message Date
Faustin Lammler e19b7b0365
Upgrading mariadb recreate my.cnf symlink
Upgrading mariadb will recreate my.cnf symlink so it's better to use
mariadb.cnf as the default configuration file.

+ add skip-name-resolve option by default
+ logging option was ignored

squash

s
2021-06-25 11:32:56 +02:00
faust 32bbfa09fa
Merge pull request #13 from fauust/podman
Using podman for github actions
2021-06-22 12:24:43 +02:00
Faustin Lammler a1b7da4f5b
Using podman for github actions
Docker and systemd does not work.
Also, it's using sudo for the moment because the rootless container does
not work with GH actions (see:
https://github.com/actions/virtual-environments/issues/3536).
2021-06-22 12:16:17 +02:00
Faustin Lammler 6ccf00e999
Add a warning when replication is activated
Some logs variables are ignored when log-basename is defined.
See: https://mariadb.com/kb/en/mysqld-options/#-log-basename
2021-05-27 22:09:23 +02:00
Faustin Lammler f0ec1e97f6
Update CI status badges 2021-05-25 17:22:00 +02:00
faust 69cf6bce6c
Merge pull request #12 from fauust/test-CI
Move from Travis CI to GH Actions
2021-05-25 17:15:47 +02:00
Faustin Lammler 68a94b3ca1
Move from Travis CI to GH actions
Add molecule steps to check installation from MariaDB Foundation
repositories.
2021-05-25 17:15:03 +02:00
Faustin Lammler deefe6f4dd
fixup! Fix wrong MariaDB repo URL on Ubuntu 2021-05-25 16:39:05 +02:00
Faustin Lammler d6b1829482
Fix wrong MariaDB repo URL on Ubuntu
Closes: https://github.com/fauust/ansible-role-mariadb/issues/11
2021-05-25 13:08:11 +02:00
Faustin Lammler 60afebb58f
Bump default MariaDB version to current stable 2021-05-25 12:47:32 +02:00
Faustin Lammler 1e2020d920
Upgrade molecule 2021-02-06 14:50:30 +01:00
Faustin Lammler 26a7da9ee7
Update MDBF repo conf tool URL 2021-02-03 12:46:30 +01:00
faust 27448f1b64
Merge pull request #10 from fauust/add-cron-output-option
Add an option for cron loggin
2020-11-30 18:20:25 +01:00
Faustin Lammler 2afe6b9c4b
Add an option for cron loggin
Add an option to decide what output we want from cron.
2020-11-30 18:01:49 +01:00
Faustin Lammler e9dcddf4e4
pre-commit autoupdate 2020-11-26 14:15:56 +01:00
faust 404d65f661
Merge pull request #9 from fauust/update-molecule
Update molecule
2020-11-23 12:55:58 +01:00
Faustin Lammler 76b4a9d564
Update molecule
This update molecule to latest 3.1 branch:
- installation of molecule-docker is now needed;
- testinfra was renamed.
2020-11-23 12:54:54 +01:00
Faustin Lammler 2cf069db27
Pre-task ignored in docker/podman context
For CI to pass, it's better to always apt-get cache.
2020-11-04 12:16:13 +01:00
Faustin Lammler d124bf681e
Update pre-commit tools 2020-11-03 19:44:14 +01:00
faust 1969329b62
Merge pull request #8 from fauust/testci
Cleaning requirements
2020-11-03 19:16:30 +01:00
Faustin Lammler 9a882791a0
Cleaning requirements
Also pine version of containers
2020-11-03 19:14:44 +01:00
Faustin Lammler 4a9b30d146
Missing galaxy meta info 2020-11-01 16:10:24 +01:00
Faustin Lammler 1a014e3778
Add ubuntu 20.10 2020-11-01 16:08:01 +01:00
Faustin Lammler 41836bde23
Update pre-commit tools version 2020-11-01 12:34:28 +01:00
faust 3fed7d5f44
Merge pull request #7 from fauust/change_driver
Add a switch to use podman instead of docker
2020-10-20 17:47:09 +02:00
Faustin Lammler 505d6ca16f
Add a switch to use podman instead of docker 2020-10-20 17:37:16 +02:00
Faustin Lammler fd3ef0a1b1
Use latest dependencies 2020-10-20 16:10:48 +02:00
Faustin Lammler a62fecf3d4
Migrate to travis-ci.com 2020-09-16 09:52:38 +02:00
Faustin Lammler 6210c81438
Update ansible linter CI 2020-09-07 12:10:33 +02:00
Faustin Lammler 52369accf7
Update ansible-lint on CI 2020-08-26 12:04:06 +02:00
Faustin Lammler 95f9ed0eee
Update pre-commit hooks 2020-07-27 17:00:48 +02:00
Faustin Lammler 1435214626
Support of Debian sid only for CI purpose 2020-06-26 09:06:57 +02:00
faust f8b572e657
Merge pull request #6 from fauust/review-babafou
Apply babafou review
2020-06-25 12:53:55 +02:00
Faustin Lammler 54bff54e45
Apply babafou review
- useless use of double quotes;
- missing task name;
- loop replaces with_items;
- use import_tasks instead of include_tasks
  see:
  https://www.reddit.com/r/ansible/comments/8rrybk/why_choosing_import_over_include_is_it_faster/e0txxoy/
  https://docs.ansible.com/ansible/2.5/porting_guides/porting_guide_2.5.html#dynamic-includes-and-attribute-inheritance
2020-06-25 12:43:02 +02:00
Faustin Lammler 8c91515712
Improve documentation
It was not clear which variable was necessary on which node of the
master/replica cluster.
2020-05-29 18:20:47 +02:00
Faustin Lammler 42f4733163
Use a fixed filename for mariadb repository source list
By default, ansible adds a source list file name based on the repository
source url. Using a fixed file name permits to change mirror without
duplicating source list files.

See: https://docs.ansible.com/ansible/latest/modules/apt_repository_module.html
2020-05-28 23:08:16 +02:00
faust 7ec9189977
Merge pull request #5 from fauust/remove-slave-wording
Remove slave statements
2020-05-28 22:50:35 +02:00
Faustin Lammler d1cdf270c6
Remove slave statement when possible
See: https://jira.mariadb.org/browse/MDEV-18777
2020-05-28 22:49:08 +02:00
faust cd0ea2011e
Merge pull request #4 from iangilfillan/master
README copyedits
2020-05-28 19:51:42 +02:00
Ian Gilfillan 175bd0af6b README copyedits 2020-05-28 17:34:34 +02:00
Faustin Lammler c3d75cd4a3
CI testing
- this should trigger only linting step
2020-05-27 19:02:56 +02:00
faust 70cf2ba0d6
Merge pull request #3 from fauust/ci-test
Improve CI
2020-05-27 19:02:16 +02:00
Faustin Lammler fe1c409165
Improve CI 2020-05-27 19:01:10 +02:00
Faustin Lammler d6375c8967
Link to line 2020-05-27 18:34:56 +02:00
faust 271f3c9e55
Merge pull request #2 from fauust/test-skipping-ci
Improve option to skip CI
2020-05-27 18:00:43 +02:00
Faustin Lammler 9c5628ac13
Improve option to skip CI
- KISS makefile
- log function for dump script
2020-05-27 18:00:12 +02:00
Faustin Lammler 7b289de42f
Typo + skipping travis CI mechanism 2020-05-27 17:27:56 +02:00
Faustin Lammler e46b74521b
Default variable already defined 2020-05-27 16:03:09 +02:00
Faustin Lammler 4bcd18c6d0
Improve doc
- typo
- better wording
2020-05-27 15:58:05 +02:00
Faustin Lammler 9d4c84388d
Typo 2020-05-27 15:48:34 +02:00