enhancement(prometheus): match any .yml file in /rules: docs

Signed-off-by: dpavle <17710777+dpavle@users.noreply.github.com>
This commit is contained in:
dpavle 2024-04-15 16:27:09 +02:00
parent 3eff65f47d
commit e8b9766d7e

View file

@ -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: