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:
@@ -97,7 +97,11 @@
|
||||
elements: '{{cli_dir}}'
|
||||
|
||||
- name: get op powershell completion script
|
||||
win_command: op completion powershell
|
||||
win_command:
|
||||
argv:
|
||||
- '{{ansible_env.LOCALAPPDATA}}/1Password/cli/op.exe'
|
||||
- completion
|
||||
- powershell
|
||||
register: powershell_completion_script
|
||||
changed_when: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user