Added my.cnf with openstack recommended settings.

This commit is contained in:
Egon Rijpkema
2017-06-22 09:19:08 +02:00
parent 13064a8e7e
commit aa535dc3d4
3 changed files with 88 additions and 5 deletions

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