mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-03-14 11:42:09 +07:00
Fix tests while grant access with space char
This commit is contained in:
@@ -36,10 +36,10 @@
|
||||
|
||||
- name: MYSQL_USER | Manages users...
|
||||
mysql_user: >
|
||||
name={{ item.name }}
|
||||
password={{ item.password }}
|
||||
priv={{ item.priv }}
|
||||
host={{ item.host | default('localhost') }}
|
||||
name="{{ item.name }}"
|
||||
password="{{ item.password }}"
|
||||
priv="{{ item.priv }}"
|
||||
host="{{ item.host | default('localhost') }}"
|
||||
state=present
|
||||
with_items: mysql_users
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ mysql_databases:
|
||||
mysql_users:
|
||||
- name: 'replication'
|
||||
password: '1a2b3c'
|
||||
priv: '*.*:"REPLICATION SLAVE"'
|
||||
priv: '*.*:REPLICATION SLAVE'
|
||||
host: '%'
|
||||
mysql_replication_master: true
|
||||
mysql_replication_slave: false
|
||||
|
||||
Reference in New Issue
Block a user