mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
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.
24 lines
539 B
YAML
24 lines
539 B
YAML
- name: Restart postfix
|
|
service:
|
|
name: postfix
|
|
state: restarted
|
|
|
|
- name: Reload postfix # noqa no-changed-when
|
|
command: postfix reload
|
|
|
|
- name: Postmap additional files # noqa no-changed-when
|
|
command: postmap /etc/postfix/{{ item }}
|
|
with_items:
|
|
- access_client
|
|
- access_sender
|
|
- access_sender-post-filter
|
|
- access_helo
|
|
- access_recipient
|
|
- transport
|
|
- relocated
|
|
- domains
|
|
- msa_header_checks
|
|
|
|
- name: Update aliases db # noqa no-changed-when
|
|
command: postalias /etc/postfix/aliases
|