From 0379abc36cd3d0a283ae514ff3b95cc1b790e7de Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 12 Dec 2014 15:55:58 +0100 Subject: Add mariadb module --- roles/mariadb/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 roles/mariadb/tasks/main.yml (limited to 'roles/mariadb/tasks') diff --git a/roles/mariadb/tasks/main.yml b/roles/mariadb/tasks/main.yml new file mode 100644 index 0000000..10783bb --- /dev/null +++ b/roles/mariadb/tasks/main.yml @@ -0,0 +1,9 @@ +--- +- yum: name={{ item }} state=installed + with_items: + - mariadb-server + +- template: src=custom.cnf dest=/etc/my.cnf.d/custom.cnf + notify: restart mariadb + +- service: name=mariadb enabled=yes state=started -- cgit