ansible-playbooks/ubuntu/roles/mysql/tasks/main.yml

6 lines
174 B
YAML

---
- name: Install MySQL server
apt: pkg=mysql-server state=latest
- name: Start MySQL daemon and ensure it starts on boot
service: name=mysql state=started enabled=yes