Commit Graph

5 Commits

Author SHA1 Message Date
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