From cd2928ec301d2154bb1df561a3dfe9ffeb8fead4 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 18 Sep 2017 02:09:13 +0000 Subject: [PATCH] mysql user for this host --- tasks/postfixadmin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/postfixadmin.yml b/tasks/postfixadmin.yml index 531b838..2e561c7 100644 --- a/tasks/postfixadmin.yml +++ b/tasks/postfixadmin.yml @@ -27,5 +27,6 @@ name: "{{postfix_postfixadmin_mysql_username}}" password: "{{postfix_postfixadmin_mysql_password}}" priv: "{{postfix_postfixadmin_mysql_database}}.*:SELECT" + host: "{{inventory_hostname}}" state: present delegate_to: "{{postfix_postfixadmin_mysql_host}}"