Closed moenka closed 6 years ago
I just saw that the handlers.yml
also needs an update on the restart mariadb
task where the name
attribute has to be catched from the mariadb_service
variable.
This is not super urgent so I try to provide a pull request on this.
Fixed in a18f0dc and v2.1.0, just released! Sorry it took so long! It was a simple enough fix...
Thanks anyway.
Hi, I like your role as it helps setting up MariaDB very easily on RedHad distributions. There is but one big issue with MariaDB 5.5 (which can be easily installed with this role). On CentOS the service for MariaDB 5.5 is called
mysql
notmariadb
. Unfortunately themariadb_service
is located with thevars/
directory which makes it unchangeable/unconfigurable. This causes the role to fail for MariaDB <10. I'd like to suggest moving this variable into thedefaults/
directory so one has the chance to overwrite this variable.This would be the fast solution. The better solution would be to check on the
mariadb_version
variable and change themariadb_service
variable tomysql
if the version is lower then 10 on a CentOS distribution.