roles/mariadb: Update service name

As of MariaDB 10.5 the service name and binaries have changed from
mysql, mysqld, etc to mariadbd.

See: https://mariadb.com/kb/en/upgrading-from-mariadb-104-to-mariadb-105/
This commit is contained in:
Alan Orth 2020-12-29 10:40:13 +02:00
parent 89db1449d1
commit e18529e6e1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
---
- name: restart mysql
systemd: name=mysql state=restarted
- name: restart mariadbd
systemd: name=mariadbd state=restarted
# vim: set ts=2 sw=2:

View File

@ -26,7 +26,7 @@
- name: Create system my.cnf
template: src=my.cnf.j2 dest=/etc/mysql/my.cnf owner=root group=root mode=0644
notify:
- restart mysql
- restart mariadbd
tags: mariadb
# 'localhost' needs to be the last item for idempotency, see