summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-03 19:11:25 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:11 +0200
commit9eb84317dd1ecca2f43cb4d5ffa940753eb5984a (patch)
tree21245b28d4c1a5dfc00deaeacd8bc787c2e0adcc /roles
parent2b308feeeaf36017e4255c2685b7a5609b290957 (diff)
SQL: Set empty passwords for auth_socket authentication.
Diffstat (limited to 'roles')
-rw-r--r--roles/IMAP/tasks/spam.yml2
-rw-r--r--roles/common-SQL/tasks/main.yml2
-rw-r--r--roles/lists/tasks/sympa.yml2
3 files changed, 3 insertions, 3 deletions
diff --git a/roles/IMAP/tasks/spam.yml b/roles/IMAP/tasks/spam.yml
index a8fbe71..b8ac466 100644
--- a/roles/IMAP/tasks/spam.yml
+++ b/roles/IMAP/tasks/spam.yml
@@ -51,7 +51,7 @@
# This *must* be the user we run spamd as
# See https://svn.apache.org/repos/asf/spamassassin/trunk/sql/README.bayes
mysql_user: >
- name=amavis auth_plugin=auth_socket
+ name=amavis password= auth_plugin=auth_socket
priv="spamassassin.awl: SELECT,INSERT,UPDATE,DELETE
/spamassassin.bayes_seen: SELECT,INSERT, DELETE
/spamassassin.bayes_token: SELECT,INSERT,UPDATE,DELETE
diff --git a/roles/common-SQL/tasks/main.yml b/roles/common-SQL/tasks/main.yml
index a26f5f4..b5c6773 100644
--- a/roles/common-SQL/tasks/main.yml
+++ b/roles/common-SQL/tasks/main.yml
@@ -26,7 +26,7 @@
# XXX Dirty fix for #742046
- name: Force root to use UNIX permissions
- mysql_user: name=root auth_plugin=auth_socket
+ mysql_user: name=root password= auth_plugin=auth_socket
state=present
- name: Disallow anonymous and TCP/IP root login
diff --git a/roles/lists/tasks/sympa.yml b/roles/lists/tasks/sympa.yml
index 49a1423..245e148 100644
--- a/roles/lists/tasks/sympa.yml
+++ b/roles/lists/tasks/sympa.yml
@@ -4,7 +4,7 @@
- sympa
- name: Make the 'sympa' MySQL user use auth_socket
- mysql_user: name=sympa auth_plugin=auth_socket
+ mysql_user: name=sympa password= auth_plugin=auth_socket
state=present
- name: Configure Sympa