From f7c5c9b52bd175bd44be4afd1a51772335b171cb Mon Sep 17 00:00:00 2001 From: Karl Hepworth Date: Thu, 11 Jan 2018 22:23:33 +1100 Subject: [PATCH] #77: Adds condition to support devel versions. --- tasks/install.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/install.yml b/tasks/install.yml index ad34a56..770919b 100755 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -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"