hpc-cloud/roles/mariadb/tasks/main.yml
2017-05-11 15:55:05 +02:00

17 lines
392 B
YAML

# Install a docker based mariadb.
---
- include: ../common/tasks/docker.yml
- name: install service file.
template:
src: files/mysql.service
dest: /etc/systemd/system/mysql.service
mode: 644
owner: root
group: root
- name: install service file
command: systemctl daemon-reload
- name: make sure service is started
systemd:
name: mysql.service
state: started