roles/mariadb: Create utf8mb4 databases by default
This is better for supporting Unicode values in the database, see: https://mathiasbynens.be/notes/mysql-utf8mb4 Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
a7094e0964
commit
805db6a9ef
@ -34,7 +34,7 @@
|
||||
tags: mariadb
|
||||
|
||||
- name: Create WordPress database(s)
|
||||
mysql_db: db={{ item.wordpress_db_name }} state=present
|
||||
mysql_db: db={{ item.wordpress_db_name }} state=present encoding=utf8mb4
|
||||
with_items: wordpress_blogs
|
||||
when: wordpress_blogs is defined
|
||||
tags: mariadb
|
||||
|
Loading…
Reference in New Issue
Block a user