Skip to content

Commit

Permalink
Merge pull request #142 from hardys/version_fix
Browse files Browse the repository at this point in the history
Remove | cat from go version command
  • Loading branch information
fubarhouse authored Nov 5, 2019
2 parents eb7d74a + 5b80dc4 commit a24041c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
failed_when: false

- name: "Go-Lang | Getting version information"
command: "{{ GOROOT }}/bin/go version | cat"
command: "{{ GOROOT }}/bin/go version"
environment:
GOPATH: "{{ GOPATH }}"
GOROOT: "{{ GOROOT }}"
Expand All @@ -134,4 +134,4 @@
- name: "Go-Lang | Define expected version output"
set_fact:
expected_go_version_output: "go version {{ go_version_string }} {{ GOOS }}/{{ GOARCH }}"
when: expected_go_version_output is not defined
when: expected_go_version_output is not defined

0 comments on commit a24041c

Please sign in to comment.