You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
548 B

# Install a docker based mariadb.
- name: install service file.
src: files/mysql.service
dest: /etc/systemd/system/mysql.service
mode: 644
owner: root
group: root
- name: make mariadb settings volume
path: /srv/mariadb/etc/mysql
state: directory
mode: 0777
- name: place settings file
src: files/my.cnf
dest: /srv/mariadb/etc/mysql
mode: 660
- command: systemctl daemon-reload
- name: make sure service is started
name: mysql.service
state: started