mariadb: Split innodb taables into own files
This commit is contained in:
parent
32fd8e92af
commit
2706f177a8
1 changed files with 9 additions and 0 deletions
|
@ -54,6 +54,15 @@
|
|||
group: "{{ ansible_wheel }}"
|
||||
notify: restart mariadb
|
||||
|
||||
- name: create local configuration
|
||||
copy:
|
||||
dest: /etc/my.cnf.d/local.cnf
|
||||
content: "[mariadb]\ninnodb_file_per_table=ON\n"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: restart mariadb
|
||||
|
||||
- name: enable service
|
||||
service:
|
||||
name: mariadb
|
||||
|
|
Loading…
Add table
Reference in a new issue