summaryrefslogtreecommitdiffstats
path: root/roles/common-SQL/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-12-09 18:51:23 +0100
committerGuilhem Moulin <guilhem@fripost.org>2018-12-09 20:25:40 +0100
commit9039847b88dd737de1b92b08cba67cbfe9a2d840 (patch)
tree548f6b9c5d71a5c695b8956d8cea7a0661551c3b /roles/common-SQL/tasks
parente2ddcfc51f66c2a52a401064eab005e793f148ee (diff)
Use mariadb.service not mysql.service.
Since d8d07afe49e69114f8deb807031bec71a327d3ae our MySQL flavor is MariaDB.
Diffstat (limited to 'roles/common-SQL/tasks')
-rw-r--r--roles/common-SQL/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
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