agaric-coop/box/provisioning/roles/geerlingguy.mysql/tasks/databases.yml

9 lines
266 B
YAML
Raw Permalink Normal View History

---
- name: Ensure MySQL databases are present.
mysql_db:
name: "{{ item.name }}"
collation: "{{ item.collation | default('utf8_general_ci') }}"
encoding: "{{ item.encoding | default('utf8') }}"
state: present
with_items: "{{ mysql_databases }}"