Added missing temp_dir creation

This commit is contained in:
2017-03-14 10:43:20 +13:00
parent 70f91dcdfc
commit 6ea30ce47d

View File

@@ -23,17 +23,28 @@
- name: Ensure domain is joined
win_ad_domain:
admin_user: "{{ ad_admin_username }}"
admin_password: "{{ ad_admin_password }}"
domain_name: "{{ ad_domain_name }}"
admin_user: "{{ vault_ad_username }}"
admin_password: "{{ vault_ad_password }}"
domain_name: "{{ authconfig_domain }}"
when: ad_domain_joined
notify: reboot windows
- meta: flush_handlers
- name: Ensure Temp dir exists
win_file:
path: 'C:\temp'
state: directory
- name: Ensure Profile Tool Present
win_copy:
src: Defprof.exe
dest: 'C:\temp\Defprof.exe'
- name: Ensure Profile Tool Present
win_copy:
src: Defprof.exe
dest: 'C:\temp\Defprof.exe'
- name: Ensure user locale set
win_command: 'c:\temp\Defprof.exe Administrator /q'
changed_when: false