mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-21 19:33:04 +00:00
Merge pull request #449 from gardar/scrapes-removal-become
fix: use elevated permissions for removing scrapes dir
This commit is contained in:
commit
3dacdab829
1 changed files with 5 additions and 0 deletions
|
@ -176,3 +176,8 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ prometheus_config_dir }}/scrapes"
|
||||
state: absent
|
||||
become: true
|
||||
tags:
|
||||
- prometheus
|
||||
- configure
|
||||
- prometheus_configure
|
||||
|
|
Loading…
Reference in a new issue