[FIX] Usersettings: Explicitly install to user_dir

This commit is contained in:
Jannik Beyerstedt 2022-06-16 11:07:42 +02:00
parent 0b814c6d61
commit 759fcd48d0
7 changed files with 31 additions and 25 deletions

View file

@ -73,17 +73,17 @@
state: directory
- name: devel - Golang - Create zshrc-host
ansible.builtin.file:
path: "{{ ansible_user_dir}}/.zshrc-host"
path: "{{ ansible_user_dir }}/.zshrc-host"
state: touch
- name: devel - Golang - Add GOPATH
ansible.builtin.lineinfile:
path: "{{ ansible_user_dir}}/.zshrc-host"
path: "{{ ansible_user_dir }}/.zshrc-host"
line: "export GOPATH={{ user_lang_golang_gopath }}"
state: present
backup: yes
- name: devel - Golang - Add go bin to PATH
ansible.builtin.lineinfile:
path: "{{ ansible_user_dir}}/.zshrc-host"
path: "{{ ansible_user_dir }}/.zshrc-host"
line: "export PATH=$PATH:{{ user_lang_golang_gopath }}/bin"
state: present
backup: yes