90b25a6d6c
http://docs.ansible.com/ansible/playbooks_roles.html also made keystone run
17 lines
392 B
YAML
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
|