fix paths

This commit is contained in:
Matthew Stobbs
2025-09-02 20:54:10 -06:00
parent ea248df041
commit b772fbdc0a
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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'