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 }}"
|
group: "{{ ansible_wheel }}"
|
||||||
notify: restart mariadb
|
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
|
- name: enable service
|
||||||
service:
|
service:
|
||||||
name: mariadb
|
name: mariadb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue