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:
parent
89db1449d1
commit
e18529e6e1
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user