Do not become root when searching for custom prometheus alert rules files
Change-Id: I6da412d6d3e7d067c8d903ee884711ac509d24aa
This commit is contained in:

committed by
Christian Berendt

parent
1d0171fc70
commit
4f78c696c2
@@ -30,7 +30,6 @@
|
|||||||
- Restart {{ item.key }} container
|
- Restart {{ item.key }} container
|
||||||
|
|
||||||
- name: Find custom prometheus alert rules files
|
- name: Find custom prometheus alert rules files
|
||||||
become: true
|
|
||||||
find:
|
find:
|
||||||
path: "{{ node_custom_config }}/prometheus/"
|
path: "{{ node_custom_config }}/prometheus/"
|
||||||
pattern: "*.rules"
|
pattern: "*.rules"
|
||||||
|
Reference in New Issue
Block a user