---
- name: dns server reload
  service: name=named state=reloaded
  when: not bind_use_chroot

- name: dns server reload
  service: name=named-chroot state=reloaded
  when: bind_use_chroot