summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/pipeliner/templates/updatepipeline.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/pipeliner/templates/updatepipeline.j2 b/roles/pipeliner/templates/updatepipeline.j2
index 511bd2a..29acf34 100644
--- a/roles/pipeliner/templates/updatepipeline.j2
+++ b/roles/pipeliner/templates/updatepipeline.j2
@@ -4,7 +4,7 @@ t="/home/{{ ansible_user }}/trainings"
cd "$s/bookpipeline" && \
git pull && \
-go install ./cmd/bookpipeline && \
+/usr/local/go/bin/go install ./cmd/bookpipeline && \
sudo cp "$HOME/go/bin/bookpipeline" /usr/local/bin/ || exit 1
cd "$t" && git pull && \