commit 9392723e052b6474afea7347b6a29ba06d0210c5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jul 31 15:21:43 2019 +0200
Sync spamassassin
roles/spamassassin/tasks/main.yml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/roles/spamassassin/tasks/main.yml b/roles/spamassassin/tasks/main.yml
index 91557b6..55da024 100644
--- a/roles/spamassassin/tasks/main.yml
+++ b/roles/spamassassin/tasks/main.yml
@@ -2,7 +2,7 @@
# tasklist for setting up a SpamAssassin server
- name: install the package
- yum: pkg={{ item }} state=present
+ package: name={{ item }} state=present
with_items:
- spamassassin
- perl-Razor-Agent
@@ -39,6 +39,6 @@
- config
- name: set the service running/enabled
- service: name=spamassassin enabled=true state=running
+ service: name=spamassassin enabled=true state=started
tags:
- service
Show replies by date