2016-03-26 17:54:31 +01:00
|
|
|
---
|
|
|
|
|
2016-03-27 15:55:39 +02:00
|
|
|
# Note: the order is very important here. When a zone is added or removed,
|
|
|
|
# nsd MUST rebuild its database before being restarted. Otherwise, it will
|
|
|
|
# fail to start.
|
|
|
|
|
2016-03-26 17:54:31 +01:00
|
|
|
- name: rebuild nsd3 database
|
|
|
|
command: /usr/sbin/nsdc rebuild
|
2016-03-26 19:36:03 +01:00
|
|
|
|
2016-03-26 20:05:53 +01:00
|
|
|
- name: restart nsd3
|
|
|
|
service: name=nsd3 state=restarted
|
|
|
|
|
2016-03-26 19:36:03 +01:00
|
|
|
- name: notify slaves
|
|
|
|
command: /usr/sbin/nsdc notify
|