opensmtpd: add support for Debian
This commit is contained in:
parent
7916ae309e
commit
b64a5880b9
2 changed files with 21 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
- name: restart smtpd
|
||||
service:
|
||||
name: smtpd
|
||||
name: "{% if ansible_os_family == 'Alpine' %}smtpd{% else %}opensmtpd{% endif %}"
|
||||
state: restarted
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue