---
- name: reboot | Rebooting Server
  win_reboot:
    reboot_timeout_sec: 3600
  when: >
    windows_dns_server['restart_needed'] is defined and
    windows_dns_server['restart_needed']
