prometheus/rpi-client/tasks/main.yaml
changeset 30 bf16f2477a11
parent 27 8fddefdd948b
--- a/prometheus/rpi-client/tasks/main.yaml	Sat May 16 12:57:11 2020 -0500
+++ b/prometheus/rpi-client/tasks/main.yaml	Sun May 24 20:04:59 2020 -0500
@@ -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