diff --git a/tasks/main.yml b/tasks/main.yml index 4b1f225..9fd5ad2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,6 +11,7 @@ name: "{{postfixadmin_mysql_username}}" password: "{{postfixadmin_mysql_password}}" priv: "{{postfixadmin_mysql_database}}.*:ALL,GRANT" + host: "{{inventory_hostname}}" state: present delegate_to: "{{postfixadmin_mysql_host}}"