From 3d5668fb043c882bfeeba299e8080fdfe576f02d Mon Sep 17 00:00:00 2001 From: Raul Ferriz Date: Wed, 21 Oct 2015 13:43:53 +0200 Subject: [PATCH 1/2] Allow append privileges I need one user to access two different databases, with this change I can handle it. --- tasks/users.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/users.yml b/tasks/users.yml index b44d649..dfbad1c 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -6,4 +6,5 @@ password: "{{ item.password }}" priv: "{{ item.priv | default('*.*:USAGE') }}" state: present + append_priv: "{{ item.append_priv | default('no') }}" with_items: mysql_users From 80a2bfd205d508351b719f14e79d5c5f16c191d1 Mon Sep 17 00:00:00 2001 From: Raul Ferriz Date: Fri, 23 Oct 2015 19:01:58 +0200 Subject: [PATCH 2/2] Update users.yml --- tasks/users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/users.yml b/tasks/users.yml index dfbad1c..0869439 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -6,5 +6,5 @@ password: "{{ item.password }}" priv: "{{ item.priv | default('*.*:USAGE') }}" state: present - append_priv: "{{ item.append_priv | default('no') }}" + append_privs: "{{ item.append_privs | default('no') }}" with_items: mysql_users