diff options
author | Michael Scherer <misc@zarb.org> | 2014-12-12 15:55:58 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2014-12-12 15:55:58 +0100 |
commit | 0379abc36cd3d0a283ae514ff3b95cc1b790e7de (patch) | |
tree | 8fe7c69b9d7835f70620d992ded956cc6288af0c /roles/mariadb/tasks | |
parent | 1a8bdfdb1bc941d3ff4ae3b243131238b7261539 (diff) |
Add mariadb module
Diffstat (limited to 'roles/mariadb/tasks')
-rw-r--r-- | roles/mariadb/tasks/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
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 |