ansible-role-apache/lemp-rhel7/roles/ansible-role-mysql/tasks/databases.yml
2016-06-12 11:44:25 +10:00

8 lines
266 B
YAML
Executable file

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