fixed login problems
This commit is contained in:
parent
732b31e306
commit
db81debfd6
1 changed files with 2 additions and 0 deletions
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue