Set the owner of Git repos on Windows
The `win_git` module clones repos as the current user, which since its an admin login is the admin. This patch adjusts the `win_owner` to so that repos are owned by the correct user when being used in a non-admin capacity.
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
repo: git@code.infektor.net:config/AutoHotKey.git
|
||||
dest: '{{autohotkey_repo_dir}}'
|
||||
branch: master
|
||||
- win_owner:
|
||||
path: '{{autohotkey_repo_dir}}'
|
||||
user: Benie
|
||||
|
||||
- name: create scheduled task
|
||||
win_scheduled_task:
|
||||
|
||||
Reference in New Issue
Block a user