Commit Graph

11 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
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 1e2020d920
Upgrade molecule 2021-02-06 14:50:30 +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 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 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 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
Faustin Lammler d1cdf270c6
Remove slave statement when possible
See: https://jira.mariadb.org/browse/MDEV-18777
2020-05-28 22:49:08 +02:00
Faustin Lammler e46b74521b
Default variable already defined 2020-05-27 16:03:09 +02:00
Faustin Lammler 12ebef99b1
Import role from old project
- lots of improvements and simplifications.
2020-05-27 14:49:07 +02:00