summaryrefslogtreecommitdiffstats
path: root/roles/mariadb/tasks/main.yml
blob: 10783bb370f7320b8a2dd1e4bb3ed2b0bb029dfd (plain)
1
2
3
4
5
6
7
8
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