diff --git a/handlers/main.yml b/handlers/main.yml index a8113f3..15103e7 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -5,3 +5,6 @@ - name: rebuild nsd3 database command: /usr/sbin/nsdc rebuild + +- name: notify slaves + command: /usr/sbin/nsdc notify diff --git a/tasks/main.yml b/tasks/main.yml index a70acc2..6e18ef7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -49,6 +49,7 @@ with_items: "{{ nsd_primary_zones }}" notify: - rebuild nsd3 database + - notify slaves - name: Configure secondary nsd3 zones