add v partout

This commit is contained in:
jean-yves.fournier 2021-11-19 14:22:35 +01:00
parent ec179d2f9d
commit 765aee05cd

View File

@ -14,12 +14,12 @@
- name: 'prometheus | redis exporter | unarchive' - name: 'prometheus | redis exporter | unarchive'
unarchive: unarchive:
remote_src: yes 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 dest: /tmp
- name: 'prometheus | redis exporter | move to /usr/local/bin' - name: 'prometheus | redis exporter | move to /usr/local/bin'
copy: 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 dest: /usr/local/bin/prometheus-redis-exporter
remote_src: yes remote_src: yes
owner: root owner: root