You've already forked ansible-role-common
Updated profile copy to use the ansible_user var
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
dest: 'C:\temp\Defprof.exe'
|
||||
|
||||
- name: Ensure user locale set
|
||||
win_command: 'c:\temp\Defprof.exe Administrator /q'
|
||||
win_command: 'c:\temp\Defprof.exe {{ ansible_user }} /q'
|
||||
changed_when: false
|
||||
|
||||
- name: Apply Windows Updates
|
||||
|
||||
Reference in New Issue
Block a user