From 9eb84317dd1ecca2f43cb4d5ffa940753eb5984a Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 3 Jun 2015 19:11:25 +0200 Subject: SQL: Set empty passwords for auth_socket authentication. --- roles/IMAP/tasks/spam.yml | 2 +- roles/common-SQL/tasks/main.yml | 2 +- roles/lists/tasks/sympa.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'roles') 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 -- cgit v1.2.3