X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d8b2db0f1004d3496e6e64aafef506eb4f7e373a..df93ad2b2188c394c421743afc7a7645a2486202:/roles/email/tasks/dovecot.yml diff --git a/roles/email/tasks/dovecot.yml b/roles/email/tasks/dovecot.yml index f4929eb..aa59821 100644 --- a/roles/email/tasks/dovecot.yml +++ b/roles/email/tasks/dovecot.yml @@ -40,3 +40,21 @@ dest: /etc/dovecot/quota-warning.sh src: templates/dovecot/quota-warning.sh mode: +x +# scripts +- name: create newmail dir + file: path=/root/newmail state=directory +- name: install newmail script + copy: + dest: /root/newmail/newmail + src: files/newmail/newmail + mode: u=rwx,g=rx,o=rx +- name: install newmail templates + copy: + dest: /root/newmail/templates.py + src: files/newmail/templates.py +- name: install changepw script + when: postfix.dovecot.changepw_cgi is defined + template: + dest: "{{postfix.dovecot.changepw_cgi}}" + src: templates/changepw + mode: u=rwx,g=rx,o=