Skip to content

Commit

Permalink
Merge pull request #24 from abims-sbr/go116
Browse files Browse the repository at this point in the history
go 1.16.15
  • Loading branch information
lecorguille authored May 20, 2022
2 parents c17d93a + 0d5d6b9 commit 5cb2b46
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
dependencies:
- role: gantsign.golang
version: 2.4.0
version: 2.10.2

galaxy_info:
role_name: singularity
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

- src: gantsign.golang
version: 2.6.5
version: 2.10.2
4 changes: 3 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@
PATH: '{{ golang_install_dir }}/bin:{{ ansible_env.PATH }}'
GOROOT: '{{ golang_install_dir }}'
GOPATH: '{{ golang_gopath }}'
GO111MODULE: 'off'
when:
- not ansible_check_mode
- go_installed.rc == 1
- go_versions.rc == 1

- name: singularity | create directory for singularity
file:
Expand Down Expand Up @@ -118,6 +119,7 @@
PATH: '{{ golang_install_dir }}/bin:{{ ansible_env.PATH }}'
GOROOT: '{{ golang_install_dir }}'
GOPATH: '{{ golang_gopath }}'
GO111MODULE: 'off'
register: singularity_make
when:
- not ansible_check_mode
Expand Down
5 changes: 5 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---

# Go language SDK version number
# Last version to support go get
golang_version: '1.16.15'

0 comments on commit 5cb2b46

Please sign in to comment.