Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

- name: Extract the Go tarball if Go is not yet installed or if it is not the desired version
command: tar -C /usr/local -xf /usr/local/src/{{ go_tarball }}
when: go_version|failed or go_version.stdout != go_version_target
when: go_version|failed or (not go_version|skipped and go_version.stdout != go_version_target)

- name: Add the Go bin directory to the PATH environment variable for all users
copy: src=go-bin.sh
Expand Down