1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-20 00:46:05 +02:00
infrastructure/roles/mailman/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

14 lines
327 B
YAML

- name: Reload mailman
service: name=mailman3 state=reloaded
- name: Restart mailman-web
service: name=uwsgi@mailman\\x2dweb.service state=restarted
- name: Reload postfix
service: name=postfix state=reloaded
- name: Run postmap # noqa no-changed-when
command: postmap /etc/postfix/{{ item }}
loop:
- aliases