Skip to content

Commit

Permalink
#77: Adds condition to support devel versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
fubarhouse committed Jan 11, 2018
1 parent 7fe5a63 commit f7c5c9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
GOROOT: "{{ GOROOT }}"
GOPATH: "{{ GOPATH }}"
register: go_version_output
failed_when: go_version_string not in go_version_output.stdout
failed_when: >
(go_version_string not in go_version_output.stdout) and
("go version devel" not in go_version_output.stdout)
changed_when: false

- name: "Go-Lang | Restart shell"
Expand Down

0 comments on commit f7c5c9b

Please sign in to comment.