fixed login problems

This commit is contained in:
nd 2021-01-15 22:52:46 +01:00
parent 732b31e306
commit db81debfd6
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -8,6 +8,7 @@
- name: create mariadb dbs
mysql_db:
login_unix_socket: /var/run/mysqld/mysqld.sock
name: "{{ item.key }}"
collation: "{{ item.value.collation | default('utf8_general_ci') }}"
encoding: "{{ item.value.encoding | default('utf8') }}"
@ -15,6 +16,7 @@
- name: create mariadb users
mysql_user:
login_unix_socket: /var/run/mysqld/mysqld.sock
name: "{{ item.key }}"
host: "{{ item.value.host | default('localhost') }}"
password: "{{ item.value.password }}"