From b2385cb132d3bba7114eaff3c5a9953ada27927b Mon Sep 17 00:00:00 2001 From: Karl Goetz Date: Sun, 16 Apr 2017 19:27:00 +1000 Subject: [PATCH] Try adding a configuration check Shinken has a 'check' option for its init script which I am trying to use here. I'm unsure if this is valid ansible syntax - I will fix it shortly if it isn't. --- handlers/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/main.yml b/handlers/main.yml index fa4ba10..ee4b260 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,7 +1,9 @@ --- - name: restart shinken arbiter + command: service shinken check service: name=shinken-arbiter state=restarted - name: restart shinken broker + command: service shinken check service: name=shinken-broker state=restarted