summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/common-SQL/handlers/main.yml4
-rw-r--r--roles/common-SQL/tasks/main.yml8
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