From ab880c962277b212c1ccc4e6dd348024537f5194 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Sat, 26 Mar 2016 20:05:53 +0100 Subject: [PATCH] NSD: Fix handlers order (rebuild before restart) --- handlers/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index 15103e7..7b90e4a 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,10 +1,10 @@ --- -- name: restart nsd3 - service: name=nsd3 state=restarted - - name: rebuild nsd3 database command: /usr/sbin/nsdc rebuild +- name: restart nsd3 + service: name=nsd3 state=restarted + - name: notify slaves command: /usr/sbin/nsdc notify