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 - name: restart mariadbd
systemd: name=mysql state=restarted systemd: name=mariadbd state=restarted
# vim: set ts=2 sw=2: # vim: set ts=2 sw=2:

View File

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