Skip to content

Commit cb78c95

Browse files
committed
fix: include yaml files
1 parent 1d1e29a commit cb78c95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ansible/roles/prometheus/tasks/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
local_action:
4141
module: find
4242
path: "{{ ansitheus_custom_config_dir }}/prometheus/file_sd"
43-
pattern: "*.json"
43+
pattern:
44+
- "*.json"
45+
- "*.yaml"
46+
- "*.yml"
4447
run_once: true
4548
delegate_to: localhost
4649
register: prometheus_file_sd

0 commit comments

Comments
 (0)