diff --git a/tasks/main.yml b/tasks/main.yml index a370275..f749d9c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 diff --git a/tests/group_vars/master b/tests/group_vars/master index 0294770..4b43d25 100644 --- a/tests/group_vars/master +++ b/tests/group_vars/master @@ -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