Skip to content

Commit

Permalink
Merge pull request #449 from gardar/scrapes-removal-become
Browse files Browse the repository at this point in the history
fix: use elevated permissions for removing scrapes dir
  • Loading branch information
gardar authored Oct 31, 2024
2 parents 429e268 + cf1f68c commit 3dacdab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/prometheus/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,8 @@
ansible.builtin.file:
path: "{{ prometheus_config_dir }}/scrapes"
state: absent
become: true
tags:
- prometheus
- configure
- prometheus_configure

0 comments on commit 3dacdab

Please sign in to comment.