1
0
Fork 0
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:
Joel Diaz 2017-09-19 09:32:59 -04:00 committed by ansibot
parent 79d034b088
commit 6c7d46a9e3

View file

@ -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',