mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 11:53:12 +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:
|
ansible.builtin.file:
|
||||||
path: "{{ prometheus_config_dir }}/scrapes"
|
path: "{{ prometheus_config_dir }}/scrapes"
|
||||||
state: absent
|
state: absent
|
||||||
|
become: true
|
||||||
|
tags:
|
||||||
|
- prometheus
|
||||||
|
- configure
|
||||||
|
- prometheus_configure
|
||||||
|
|
Loading…
Reference in a new issue