Closed hunter9x closed 1 year ago
@hunter9x Thank you for contribution!
Would you mind extending this a little more?
Current implementation configures one group called ansible managed...
, it would be great if variable could store just an array of groups. That would allow users to configure rules and join those into groups as users would need it, but not how role defines it.
Overview
vmalert rules are currently fixed in
roles/vmalert/files/alerts.yml
. This is not flexible, so I changed it to usetemplates
module to increase flexibility and reusability.