ansible-playbooks/ubuntu/roles/mysql/tasks/main.yml
2018-06-10 12:41:02 -04:00

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