Do not become root when searching for custom prometheus alert rules files

Change-Id: I6da412d6d3e7d067c8d903ee884711ac509d24aa
This commit is contained in:
Christian Berendt 2021-10-04 09:49:01 +02:00 committed by Christian Berendt
parent 1d0171fc70
commit 4f78c696c2

View File

@ -30,7 +30,6 @@
- Restart {{ item.key }} container
- name: Find custom prometheus alert rules files
become: true
find:
path: "{{ node_custom_config }}/prometheus/"
pattern: "*.rules"