[FIX] Usersettings: Explicitly install to user_dir
This commit is contained in:
parent
0b814c6d61
commit
759fcd48d0
7 changed files with 31 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue