NSD: notify slaves when a primary zone is updated

This commit is contained in:
Baptiste Jonglez 2016-03-26 19:36:03 +01:00
parent 34f12ba81c
commit df14c7881f
2 changed files with 4 additions and 0 deletions

View File

@ -5,3 +5,6 @@
- name: rebuild nsd3 database - name: rebuild nsd3 database
command: /usr/sbin/nsdc rebuild command: /usr/sbin/nsdc rebuild
- name: notify slaves
command: /usr/sbin/nsdc notify

View File

@ -49,6 +49,7 @@
with_items: "{{ nsd_primary_zones }}" with_items: "{{ nsd_primary_zones }}"
notify: notify:
- rebuild nsd3 database - rebuild nsd3 database
- notify slaves
- name: Configure secondary nsd3 zones - name: Configure secondary nsd3 zones