ansible-role-apache/tasks/databases.yml
2014-11-08 21:43:31 -06:00

8 lines
258 B
YAML

---
- 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