diff --git a/roles/golang/tasks/main.yml b/roles/golang/tasks/main.yml index 240e3f9..a781fac 100644 --- a/roles/golang/tasks/main.yml +++ b/roles/golang/tasks/main.yml @@ -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 }} diff --git a/roles/golang/vars/main.yml b/roles/golang/vars/main.yml index 220538a..b142c18 100644 --- a/roles/golang/vars/main.yml +++ b/roles/golang/vars/main.yml @@ -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 }}"