ansible-roles/mysql/tasks/packages.yml

15 lines
309 B
YAML
Raw Normal View History

---
- name: install the mysql packages
apt: pkg={{ item }} state={{ mysql_pkg_state }}
with_items: mysql_packages_list
tags:
- mysql
- name: Ensure that the mysql server is enabled and running
service: name=mysql state=started enabled=yes
when: mysql_enabled
tags:
- mysql
- mariadb