mariadb/tasks/databases.yml

9 lines
298 B
YAML
Raw Normal View History

2019-04-14 18:27:36 +00:00
---
- name: Ensure MySQL databases are present.
mysql_db:
name: "{{ item.name }}"
collation: "{{ item.collation | default('utf8_general_ci') }}"
encoding: "{{ item.encoding | default('utf8') }}"
state: "{{ item.state | default('present') }}"
with_items: "{{ mysql_databases }}"