Skip to content
Snippets Groups Projects
Commit 20ad9c81 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

spamassassin: fix typo and service was renamend in debian

parent 8b2561e3
No related branches found
No related tags found
1 merge request!22Implement dkim
Pipeline #6998 passed
...@@ -32,11 +32,22 @@ ...@@ -32,11 +32,22 @@
- mail - mail
- spamassassin - spamassassin
- name: ensure spamassasin is started and enanbled -- the usual way - name: ensure spamassasin is started and enabled -- the usual way
service:
name: spamd
state: started
enabled: true
when: ansible_distribution_major_version|int(default=99) >= 12
tags:
- mail
- spamassassin
- name: ensure spamassasin is started and enabled -- the usual way
service: service:
name: spamassassin name: spamassassin
state: started state: started
enabled: true enabled: true
when: ansible_distribution_major_version|int(default=99) < 12
tags: tags:
- mail - mail
- spamassassin - spamassassin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment