yanic: only install if binary is missing

This commit is contained in:
Markus 2018-01-18 12:52:54 +01:00
parent 6f22bde725
commit 1e4b24e94b

View File

@ -5,6 +5,8 @@
- name: Install yanic
shell: /usr/local/go/bin/go get -u github.com/FreifunkBremen/yanic
args:
creates: /opt/go/bin/yanic
environment:
GOPATH: /opt/go
notify: Restart yanic