|
@@ -15,6 +15,7 @@
|
|
|
git:
|
|
|
repo: "https://github.com/akhilrex/podgrab.git"
|
|
|
dest: /usr/local/src/podgrab
|
|
|
+ force: yes
|
|
|
accept_hostkey: yes
|
|
|
update: yes
|
|
|
tags:
|
|
@@ -30,7 +31,7 @@
|
|
|
- name: Build podgrab binary
|
|
|
shell:
|
|
|
chdir: /usr/local/src/podgrab
|
|
|
- cmd: go build .
|
|
|
+ cmd: go get github.com/mattn/go-isatty@v0.0.12 && go build .
|
|
|
tags:
|
|
|
- build
|
|
|
|
|
@@ -48,4 +49,5 @@
|
|
|
src: /usr/local/src/podgrab/podgrab
|
|
|
dest: /usr/local/bin/podgrab
|
|
|
remote_src: yes
|
|
|
+ mode: a+x
|
|
|
notify: Podgrab restarted
|