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