src.nth.io/

summaryrefslogtreecommitdiff
path: root/prometheus/rpi-client/tasks
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-24 20:04:59 -0500
committerLuke Hoersten <[email protected]>2020-05-24 20:04:59 -0500
commit1e86cbde9d360fd1971b96717d8ae599ae960b3e (patch)
treedf0f7f63ce21888ec58992dc588ee3a942fdac9b /prometheus/rpi-client/tasks
parent1c86ff09ca0240eb655c2e1131efaf77824dd770 (diff)
Do not re-download each time.
Diffstat (limited to 'prometheus/rpi-client/tasks')
-rw-r--r--prometheus/rpi-client/tasks/main.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/prometheus/rpi-client/tasks/main.yaml b/prometheus/rpi-client/tasks/main.yaml
index b292d24..271e70c 100644
--- a/prometheus/rpi-client/tasks/main.yaml
+++ b/prometheus/rpi-client/tasks/main.yaml
@@ -8,7 +8,8 @@
unarchive:
src: "{{prometheus_client_rpi_src}}"
remote_src: yes
- dest: "/tmp/"
+ dest: "/tmp"
+ creates: "/tmp/{{prometheus_client_rpi_dest}}"
notify: restart rpi_exporter
- name: disable GPU temp scraping