From e9c71e6d6c5e368ed4bfeb3c6b4bfd27ab632171 Mon Sep 17 00:00:00 2001 From: Sascha Biberhofer Date: Mon, 4 Jul 2016 15:00:23 +0200 Subject: [PATCH] make sure the postfix service is started and enabled after installation --- tasks/postfix.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/postfix.yml b/tasks/postfix.yml index 1d21488..ee4449d 100644 --- a/tasks/postfix.yml +++ b/tasks/postfix.yml @@ -11,3 +11,7 @@ - master.cf notify: restart mailer tags: ['common', 'postfix'] + +- name: postfix - start and enable + service: name=postfix state=started enabled=yes + tags: ['common', 'postfix']