Skip to content

Commit

Permalink
Issue #SB-4538 feat: Variablized prometheus data directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rjshrjndrn committed Jun 13, 2018
1 parent 370e75e commit e4482bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/prometheus-backup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
prometheus_backup_gzip_file_path: "{{ prometheus_backup_dir }}/{{ prometheus_backup_gzip_file_name }}"

- name: Save backup
shell: tar czf {{ prometheus_backup_gzip_file_path }} /mnt/dockerdata/prometheus/data
shell: "tar czf {{ prometheus_backup_gzip_file_path }} {{prometheus_data_dir}}"
async: 3600
poll: 10
always:
Expand Down

0 comments on commit e4482bd

Please sign in to comment.