Commit Graph

19 Commits

Author SHA1 Message Date
Faustin Lammler 90c31bf3c2
Add rhel based distro support
Move from testinfra to ansible verifier.
2022-10-11 18:14:23 +02:00
Faustin Lammler 4eeaaa139c
Don't use apt-key that is deprecated
Also, make sure that source.list file only contains one line (this
renders version upgrades easier).
2022-10-06 12:22:08 +02:00
Faustin Lammler acb31fb98c
Drop python2 support 2022-09-07 10:42:50 +02:00
Faustin Lammler ccc50d76a3
Make new version of ansible-lint happy 2022-08-25 17:38:31 +02:00
Faustin Lammler 654b620409
Update pre-commit action and versions 2022-06-10 10:02:38 +02:00
Faustin Lammler 6a83d518c2
Increase test coverage for MDBF versions 2022-06-08 11:40:19 +02:00
Faustin Lammler ed5a3fbd94
Ansible linting 2022-03-24 15:27:41 +01:00
TheGuyDanish 10f6628036 Ansible 2.12 compatibility
Changed Python identification variable, fixes #15.
Replaced deprecated terms in replication tasks.
Removed hard-coded interpreter variable from tests.
2022-02-03 11:42:54 +00:00
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