Solved path bugs

This commit is contained in:
2025-04-02 19:33:23 +02:00
parent b1d8e21772
commit fa10fe558d
2 changed files with 7 additions and 6 deletions

View File

@@ -37,9 +37,10 @@
- name: Ensure ~/.profile exists with common environment
lineinfile:
path: "{{ ansible_env.HOME }}/.profile"
path: "$HOME/.profile"
line: 'export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"'
insertafter: EOF
state: present
create: yes
mode: "0644"
mode: "0644"
become: false