diff --git a/tasks/Windows.yml b/tasks/Windows.yml index 7ea23c2..5cf382f 100644 --- a/tasks/Windows.yml +++ b/tasks/Windows.yml @@ -10,4 +10,9 @@ password_never_expires: yes state: present update_password: always - changed_when: false \ No newline at end of file + changed_when: false + +- name: Ensure DNS is set + win_dns: + dns1: "{{ dns_servers[0] }}" + dns2: "{{ dns_servers[1] }}" \ No newline at end of file