mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
add default role of 'prometheus_alerts' for alerts (#29111)
Currently, MIQ only supports an alert type of 'prometheus', so rather than have the caller of manageiq_provider pass this info, just set it as the default.
This commit is contained in:
parent
79d034b088
commit
6c7d46a9e3
1 changed files with 1 additions and 0 deletions
|
@ -336,6 +336,7 @@ def supported_providers():
|
||||||
authtype='bearer',
|
authtype='bearer',
|
||||||
default_role='default',
|
default_role='default',
|
||||||
metrics_role='prometheus',
|
metrics_role='prometheus',
|
||||||
|
alerts_role='prometheus_alerts',
|
||||||
),
|
),
|
||||||
Amazon=dict(
|
Amazon=dict(
|
||||||
class_name='ManageIQ::Providers::Amazon::CloudManager',
|
class_name='ManageIQ::Providers::Amazon::CloudManager',
|
||||||
|
|
Loading…
Reference in a new issue