From cd0f9ab719b3fb793aef49ad84116c6faa84f894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 3 Oct 2021 22:57:46 +0200 Subject: [PATCH] Fix setting of PATH for yubikey-touch-detector build --- playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index b035ce5..490315c 100644 --- a/playbook.yml +++ b/playbook.yml @@ -494,7 +494,7 @@ when: not yubikey_touch_detector_binary.stat.exists - name: build yubikey-touch-detector - shell: env GOPATH=$(pwd) GOPATH=/usr/local/go/bin go get -u github.com/maximbaz/yubikey-touch-detector + shell: sh -c 'env GOPATH=$(pwd) PATH=/usr/local/go/bin:$PATH go get -u github.com/maximbaz/yubikey-touch-detector' args: chdir: "{{ yubikey_touch_detector_build_tempdir.path }}" when: not yubikey_touch_detector_binary.stat.exists