From d42d8c29b7d0989b814c5530572d295077be4e9c Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 17 Sep 2017 14:50:57 +0000 Subject: [PATCH] external mysql server config --- defaults/main.yml | 1 - tasks/postfixadmin.yml | 1 + vars/main.yml | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 vars/main.yml diff --git a/defaults/main.yml b/defaults/main.yml index 0207447..d46d493 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,3 +1,2 @@ postfix_postfixadmin_mysql_database: postfixadmin postfix_postfixadmin_mysql_username: postfix -postfix_postfixadmin_mysql_password: eiVa9aloex5fiayeepheequ7 diff --git a/tasks/postfixadmin.yml b/tasks/postfixadmin.yml index e1ac875..531b838 100644 --- a/tasks/postfixadmin.yml +++ b/tasks/postfixadmin.yml @@ -28,3 +28,4 @@ password: "{{postfix_postfixadmin_mysql_password}}" priv: "{{postfix_postfixadmin_mysql_database}}.*:SELECT" state: present + delegate_to: "{{postfix_postfixadmin_mysql_host}}" diff --git a/vars/main.yml b/vars/main.yml deleted file mode 100644 index 25739bf..0000000 --- a/vars/main.yml +++ /dev/null @@ -1 +0,0 @@ -postfix_postfixadmin_mysql_host: localhost