15 lines
309 B
YAML
15 lines
309 B
YAML
---
|
|
- 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
|
|
|