From 2f7192536341c6d0859052c36f8a93373783be01 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Fri, 13 Oct 2017 12:44:37 +0200 Subject: [PATCH] dovecot: disable pam auth --- dovecot/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dovecot/tasks/main.yml b/dovecot/tasks/main.yml index 5e9968e0..1a835160 100644 --- a/dovecot/tasks/main.yml +++ b/dovecot/tasks/main.yml @@ -11,6 +11,14 @@ tags: - dovecot +- name: disable pam auth + replace: + dest: /etc/dovecot/conf.d/10-auth.conf + regexp: "[^#]!include auth-system.conf.ext" + replace: "#!include auth-system.conf.ext" + tags: + - dovecot + - name: update ldap auth lineinfile: dest: /etc/dovecot/dovecot-ldap.conf.ext