diff --git a/tasks/dovecot.yml b/tasks/dovecot.yml index ec827d7..5b10db8 100644 --- a/tasks/dovecot.yml +++ b/tasks/dovecot.yml @@ -2,147 +2,147 @@ # vim: set et sw=2 ts=2 sts=2: - name: dovecot-service.conf set file limit - copy: - dest: /etc/systemd/system/dovecot.service.d/service.conf - content: | - [Service] - LimitNOFILE=16384 + copy: + dest: /etc/systemd/system/dovecot.service.d/service.conf + content: | + [Service] + LimitNOFILE=16384 - name: dovecot-configs - copy: - src: "{{item}}" - dest: /etc/dovecot - owner: root - group: dovecot - mode: 0444 - with_fileglob: - - "dovecot/*" + copy: + src: "{{item}}" + dest: /etc/dovecot + owner: root + group: dovecot + mode: 0444 + with_fileglob: + - "dovecot/*" - name: dovecot-configs in conf.d - copy: - src: "{{item}}" - dest: /etc/dovecot/conf.d - owner: root - group: dovecot - mode: 0444 - with_fileglob: - - "dovecot/conf.d/*" + copy: + src: "{{item}}" + dest: /etc/dovecot/conf.d + owner: root + group: dovecot + mode: 0444 + with_fileglob: + - "dovecot/conf.d/*" - name: 'deactivate auth-system' - lineinfile: - path: /etc/dovecot/conf.d/10-auth.conf - line: "#!include auth-system.conf.ext" - regexp: "^#?!include auth-system\\.conf\\.ext" + lineinfile: + path: /etc/dovecot/conf.d/10-auth.conf + line: "#!include auth-system.conf.ext" + regexp: "^#?!include auth-system\\.conf\\.ext" - name: 'activate auth-ldap,-passwdfile' - lineinfile: - path: /etc/dovecot/conf.d/10-auth.conf - line: "!include {{item}}.conf.ext" - regexp: "^#?!include {{item}}.conf.ext" - with_items: - - auth-ldap - - auth-passwdfile + lineinfile: + path: /etc/dovecot/conf.d/10-auth.conf + line: "!include {{item}}.conf.ext" + regexp: "^#?!include {{item}}.conf.ext" + with_items: + - auth-ldap + - auth-passwdfile - name: 'dovecot: 10-ssl.conf' - lineinfile: - path: /etc/dovecot/conf.d/10-ssl.conf - insertafter: "^#{{item.key}} *= *" - regexp: "^{{item.key}} *= *" - line: "{{item.key}} = {{item.value}}" - with_dict: - ssl: required - ssl_key: "