1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

golang: upgrade to Go 1.7.4, use ~/.profile

This commit is contained in:
Matt Layher 2016-12-28 15:22:15 -05:00
parent 6e7e3b70de
commit 4906c34a8b
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94
2 changed files with 4 additions and 4 deletions

View file

@ -67,12 +67,12 @@
dest: "/usr/local/"
copy: no
- name: insert go configuration into shell configuration
- name: insert go configuration into shell profile
tags:
- golang
when: install
blockinfile:
dest: "{{ golang_user_home }}/.bashrc"
dest: "{{ golang_user_home }}/.profile"
marker: "# {mark} ansible-managed Go configuration"
block: |
export GOROOT={{ golang_root }}

View file

@ -1,7 +1,7 @@
---
# Go version to install and its tarball checksum.
golang_version: "go1.7.1"
golang_sha256: "43ad621c9b014cde8db17393dc108378d37bc853aa351a6c74bf6432c1bbd182"
golang_version: "go1.7.4"
golang_sha256: "47fda42e46b4c3ec93fa5d4d4cc6a748aa3f9411a2a2b7e08e3a6d80d753ec8b"
# Personal Go configuration.
golang_user: "matt"
golang_user_home: "/home/{{ golang_user }}"