Commit a89d78c2 authored by ale's avatar ale
Browse files

Ignore failures of the sievec tasks

They fill fail on first install as Dovecot doesn't know about
the new sieve plugins yet.
parent 5bced518
......@@ -94,10 +94,13 @@
loop: "{{ sieve_filters }}"
register: dovecot_sieve_scripts
# This task will fail on the first installation, as Dovecot hasn't
# been reloaded yet, and it does not know about our sieve plugins.
- name: Compile the default sieve filters
shell: "env HOME=/tmp sievec /var/lib/dovecot/sieve/{{ item.0 }}"
when: "item.1.changed"
loop: "{{ sieve_filters | zip(dovecot_sieve_scripts.results) | list }}"
ignore_errors: true
- name: Create dovecot sieve scripts directory
file:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment