ansible-roles/mysql/tasks/mysql-conf.yml

14 lines
314 B
YAML

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