fix paths
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/profile.d/go.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
content: |
|
||||
# enable go
|
||||
GOROOT=/usr/local/go
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Add GOROOT/bin to PATH and define GOROOT
|
||||
- name: Add /usr/local/bin to PATH
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/profile.d/go.sh
|
||||
dest: /etc/profile.d/usr-local-bin.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
Reference in New Issue
Block a user