Browse Source

Merge branch 'patch-1' into 'master'

Corrected notify 'recompile sieve script' to 'recompile sieve scripts'

See merge request ispmail/ispmail-buster-ansible!1
master
Christoph Haas 5 years ago
parent
commit
484d2faa17
3 changed files with 7 additions and 2 deletions
  1. +1
    -1
      ansible/roles/ispmail-dovecot/tasks/main.yml
  2. +5
    -0
      ansible/roles/ispmail-webmail-apache-roundcube/handlers/main.yml
  3. +1
    -1
      ansible/roles/ispmail-webmail-apache-roundcube/tasks/main.yml

+ 1
- 1
ansible/roles/ispmail-dovecot/tasks/main.yml View File

@@ -39,7 +39,7 @@
file: path=/etc/dovecot/sieve-after state=directory
- name: Create global sieve-after script to send spam to its mail folder
copy: src=spam-to-folder.sieve dest=/etc/dovecot/sieve-after/spam-to-folder.sieve
notify: recompile sieve script
notify: recompile sieve scripts
- name: Create sieve directory
file:
path: /etc/dovecot/sieve


+ 5
- 0
ansible/roles/ispmail-webmail-apache-roundcube/handlers/main.yml View File

@@ -3,3 +3,8 @@
service:
name: apache2
state: restarted

- name: restart rspamd
service:
name: rspamd
state: restarted

+ 1
- 1
ansible/roles/ispmail-webmail-apache-roundcube/tasks/main.yml View File

@@ -79,6 +79,6 @@

- name: Enable Apache mod_proxy for rspamd admin web interface
command:
cmd: a2enmod http_proxy
cmd: a2enmod proxy_http
creates: /etc/apache2/mods-enabled/proxy_http.load
notify: restart apache

Loading…
Cancel
Save