fix: ensure correct ownership for .1password directory and .agent-bridge.sh script
This commit is contained in:
@@ -14,11 +14,15 @@
|
|||||||
path: "{{ ansible_env.HOME }}/.1password"
|
path: "{{ ansible_env.HOME }}/.1password"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0700'
|
mode: '0700'
|
||||||
|
owner: "{{ ansible_user }}"
|
||||||
|
group: "{{ ansible_user }}"
|
||||||
|
|
||||||
- name: Create .agent-bridge.sh in home directory
|
- name: Create .agent-bridge.sh in home directory
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: "{{ ansible_env.HOME }}/.agent-bridge.sh"
|
dest: "{{ ansible_env.HOME }}/.agent-bridge.sh"
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
owner: "{{ ansible_user }}"
|
||||||
|
group: "{{ ansible_user }}"
|
||||||
content: |
|
content: |
|
||||||
# Code extracted from https://stuartleeks.com/posts/wsl-ssh-key-forward-to-windows/
|
# Code extracted from https://stuartleeks.com/posts/wsl-ssh-key-forward-to-windows/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user