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
|
- name: Ensure domain is joined
|
||||||
win_ad_domain:
|
win_ad_domain:
|
||||||
admin_user: "{{ ad_admin_username }}"
|
admin_user: "{{ vault_ad_username }}"
|
||||||
admin_password: "{{ ad_admin_password }}"
|
admin_password: "{{ vault_ad_password }}"
|
||||||
domain_name: "{{ ad_domain_name }}"
|
domain_name: "{{ authconfig_domain }}"
|
||||||
when: ad_domain_joined
|
when: ad_domain_joined
|
||||||
notify: reboot windows
|
notify: reboot windows
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
|
||||||
|
- name: Ensure Temp dir exists
|
||||||
|
win_file:
|
||||||
|
path: 'C:\temp'
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Ensure Profile Tool Present
|
- name: Ensure Profile Tool Present
|
||||||
win_copy:
|
win_copy:
|
||||||
src: Defprof.exe
|
src: Defprof.exe
|
||||||
dest: 'C:\temp\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
|
- name: Ensure user locale set
|
||||||
win_command: 'c:\temp\Defprof.exe Administrator /q'
|
win_command: 'c:\temp\Defprof.exe Administrator /q'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user