Skip to content

Commit

Permalink
enhancement(prometheus): match any .yml file in /rules: docs
Browse files Browse the repository at this point in the history
Signed-off-by: Pavle <17710777+dpavle@users.noreply.github.com>
  • Loading branch information
dpavle committed Apr 15, 2024
1 parent 3eff65f commit 3074dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/prometheus/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ argument_specs:
prometheus_alert_rules:
description:
- "Full list of alerting rules which will be copied to C({{ prometheus_config_dir }}/rules/ansible_managed.rules)."
- "Alerting rules can be also provided by other files located in C({{ prometheus_config_dir }}/rules/) which have a C(*.rules) or C(*.rules.yml) extension"
- "Alerting rules can be also provided by other files located in C({{ prometheus_config_dir }}/rules/) which have a C(*.yml) extension"
- "Please see default values in role defaults/main.yml"
type: "list"
elements: "dict"
prometheus_alert_rules_files:
description:
- "List of folders where ansible will look for files containing alerting rules which will be copied to C({{ prometheus_config_dir }}/rules/)."
- "Files must have a C(*.rules) or C(*.rules.yml) extension"
- "Files must have a C(*.yml) extension"
type: "list"
elements: "str"
default:
Expand Down

0 comments on commit 3074dea

Please sign in to comment.