Skip to content

Commit

Permalink
Fix future runs on redis exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
danivovich committed Aug 16, 2024
1 parent 91bf0ed commit adf072c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/redis_exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

- name: Move extracted folder to standard path
command: mv /home/prometheus/redis_exporter/{{ redis_exporter_version }}/redis_exporter-v{{ redis_exporter_version }}.linux-amd64/redis_exporter /home/prometheus/redis_exporter/{{ redis_exporter_version }}/redis_exporter
when: redis_exporter_extracted_folder_stat.stat.exists
when: redis_exporter_stat.stat.exists == False and redis_exporter_extracted_folder_stat.stat.exists
become: true

- name: Template out the env file
Expand Down

0 comments on commit adf072c

Please sign in to comment.