diff --git a/tasks/redis_exporter.yml b/tasks/redis_exporter.yml index 47ee3c6..8817213 100644 --- a/tasks/redis_exporter.yml +++ b/tasks/redis_exporter.yml @@ -14,12 +14,12 @@ - name: 'prometheus | redis exporter | unarchive' unarchive: remote_src: yes - src: /tmp/redis_exporter-{{ prometheus_redis_exporter_version|default(prometheus_redis_exporter_latest_version.stdout) }}.linux-amd64.tar.gz + src: /tmp/redis_exporter-v{{ prometheus_redis_exporter_version|default(prometheus_redis_exporter_latest_version.stdout) }}.linux-amd64.tar.gz dest: /tmp - name: 'prometheus | redis exporter | move to /usr/local/bin' copy: - src: /tmp/redis_exporter-{{ prometheus_redis_exporter_version|default(prometheus_redis_exporter_latest_version.stdout) }}.linux-amd64/redis_exporter + src: /tmp/redis_exporter-v{{ prometheus_redis_exporter_version|default(prometheus_redis_exporter_latest_version.stdout) }}.linux-amd64/redis_exporter dest: /usr/local/bin/prometheus-redis-exporter remote_src: yes owner: root