Skip to content
Snippets Groups Projects

spamassassin: fix typo and service was renamend in debian

Merged Hinrikus Wolf requested to merge fix-small-issue-with-spamassassin into master
1 file
+ 12
1
Compare changes
  • Side-by-side
  • Inline
@@ -32,11 +32,22 @@
- mail
- 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:
name: spamassassin
state: started
enabled: true
when: ansible_distribution_major_version|int(default=99) < 12
tags:
- mail
- spamassassin
Loading