Skip to content

Commit

Permalink
Remove replaced "scrapes" folder
Browse files Browse the repository at this point in the history
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
  • Loading branch information
manzsolutions-lpr committed Oct 16, 2024
1 parent e3fa3b6 commit c5da177
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 @@ -88,3 +88,8 @@
with_fileglob: "{{ prometheus_scrape_config_files }}"
notify:
- reload prometheus

- name: Remove "scrapes" folder replaced by "scrape_configs"
ansible.builtin.file:
path: "{{ prometheus_config_dir }}/scrapes"
state: absent

0 comments on commit c5da177

Please sign in to comment.