From b57699be00720463cf588879bde549bc06a2f98d Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 17 Sep 2017 14:53:46 +0000 Subject: [PATCH] external mysql server config --- defaults/main.yml | 1 - tasks/main.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 b07b423..59d77d3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,5 +1,4 @@ dovecot_postfixadmin_mysql_database: postfixadmin dovecot_postfixadmin_mysql_username: dovecot -dovecot_postfixadmin_mysql_password: koof5DeNgi5aeR2ewoh9iz1u vmail_uid: 500 vmail_gid: 500 diff --git a/tasks/main.yml b/tasks/main.yml index e5759fe..ed4469e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -47,6 +47,7 @@ password: "{{dovecot_postfixadmin_mysql_password}}" priv: "{{dovecot_postfixadmin_mysql_database}}.*:SELECT" state: present + delegate_to: "{{dovecot_postfixadmin_mysql_host}}" - name: configuration pull directory local_action: file diff --git a/vars/main.yml b/vars/main.yml deleted file mode 100644 index c6e2564..0000000 --- a/vars/main.yml +++ /dev/null @@ -1 +0,0 @@ -dovecot_postfixadmin_mysql_host: localhost