You've already forked ansible-role-common
Added missing temp_dir creation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user