Merge pull request #449 from gardar/scrapes-removal-become

fix: use elevated permissions for removing scrapes dir
This commit is contained in:
gardar 2024-10-31 16:52:31 +00:00 committed by GitHub
commit 3dacdab829
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,3 +176,8 @@
ansible.builtin.file:
path: "{{ prometheus_config_dir }}/scrapes"
state: absent
become: true
tags:
- prometheus
- configure
- prometheus_configure