NSD: Fix handlers order (rebuild before restart)

This commit is contained in:
Baptiste Jonglez 2016-03-26 20:05:53 +01:00
parent df14c7881f
commit ab880c9622
1 changed files with 3 additions and 3 deletions

View File

@ -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