ansible-roles/library/centos/roles/mariadb/tasks/mysql-conf.yml

14 lines
309 B
YAML

---
- name: Install the main configuration files.
template: src={{ item }}.cnf.j2 dest=/etc/my.cnf.d/{{ item }}.cnf owner=root group=root mode=0644
with_items:
- client
- server
- mysql-clients
when: mysql_enabled
notify: Restart mariadb
tags:
- mysql
- mariadb
- mysql-conf