diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-09 18:51:23 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-09 20:25:40 +0100 |
commit | 9039847b88dd737de1b92b08cba67cbfe9a2d840 (patch) | |
tree | 548f6b9c5d71a5c695b8956d8cea7a0661551c3b | |
parent | e2ddcfc51f66c2a52a401064eab005e793f148ee (diff) |
Use mariadb.service not mysql.service.
Since d8d07afe49e69114f8deb807031bec71a327d3ae our MySQL flavor is
MariaDB.
-rw-r--r-- | roles/common-SQL/handlers/main.yml | 4 | ||||
-rw-r--r-- | roles/common-SQL/tasks/main.yml | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/roles/common-SQL/handlers/main.yml b/roles/common-SQL/handlers/main.yml index d1d355f..eae5efd 100644 --- a/roles/common-SQL/handlers/main.yml +++ b/roles/common-SQL/handlers/main.yml @@ -1,6 +1,6 @@ --- -- name: Restart MySQL - service: name=mysql state=restarted +- name: Restart MariaDB + service: name=mariadb state=restarted - name: Restart munin-node service: name=munin-node state=restarted diff --git a/roles/common-SQL/tasks/main.yml b/roles/common-SQL/tasks/main.yml index d6ab1c4..3df2cab 100644 --- a/roles/common-SQL/tasks/main.yml +++ b/roles/common-SQL/tasks/main.yml @@ -8,14 +8,14 @@ # for the 'mysql_' munin plugin - libcache-cache-perl -- name: Copy MySQL's configuration +- name: Copy MySQL/MariaDB configuration copy: src=etc/mysql/my.cnf dest=/etc/mysql/my.cnf owner=root group=root mode=0644 register: r notify: - - Restart MySQL + - Restart MariaDB # We need to restart now and load the relevant authplugin before we # connect to the database. @@ -38,8 +38,8 @@ - { name: root, host: '127.0.0.1'} - { name: root, host: '::1'} -- name: Start MySQL - service: name=mysql state=started +- name: Start MariaDB + service: name=mariadb state=started - name: Install 'mysql_' Munin wildcard plugin |