Added my.cnf with openstack recommended settings.

This commit is contained in:
Egon Rijpkema committed 2017-06-22 09:33:01 +02:00
1 parent 13064a8e7e
commit aa535dc3d4
3 files changed
+88 -5

No files matched your search

+15 -2
View File
@@ -8,8 +8,21 @@
mode: 644
owner: root
group: root
- name: install service file
command: systemctl daemon-reload
- name: make mariadb settings volume
file:
path: /srv/mariadb/etc/mysql
state: directory
mode: 0777
- name: place settings file
copy:
src: files/my.cnf
dest: /srv/mariadb/etc/mysql
mode: 660
- command: systemctl daemon-reload
- name: make sure service is started
systemd:
name: mysql.service