1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/dovecot/handlers/main.yml
Evangelos Foutras 4ae73a93be
ansible-lint: address no-changed-when fatal errors
Add "noqa no-changed-when" tags to handlers using the command module.
Perhaps it is wrong of ansible-lint to flag these, since handlers are
not the best place to have conditional execution.
2023-03-26 16:57:00 +03:00

8 lines
199 B
YAML

- name: Reload dovecot
service: name=dovecot state=restarted
- name: Run sievec # noqa no-changed-when
command: /usr/bin/sievec /etc/dovecot/sieve/{{ item }}
loop:
- spam-to-folder.sieve