refactor(alertmanager): move config to own defaults file

This commit is contained in:
transcaffeine 2024-10-17 16:17:39 +02:00
parent fb0915841d
commit 02ad9e471d
Signed by: transcaffeine
GPG Key ID: 03624C433676E465
2 changed files with 8 additions and 5 deletions

View File

@ -0,0 +1,8 @@
---
alertmanager_config_global: {}
alertmanager_config_route: {}
alertmanager_config_receivers: []
alertmanager_config:
global: "{{ alertmanager_config_global }}"
route: "{{ alertmanager_config_route }}"
receivers: "{{ alertmanager_config_receivers }}"

View File

@ -8,8 +8,3 @@ alertmanager_config_path: "{{ alertmanager_base_path }}/config"
alertmanager_config_file: "{{ alertmanager_config_path }}/alertmanager.yml" alertmanager_config_file: "{{ alertmanager_config_path }}/alertmanager.yml"
alertmanager_data_path: "{{ alertmanager_base_path }}/data" alertmanager_data_path: "{{ alertmanager_base_path }}/data"
alertmanager_config:
global: {}
route: {}
receivers: []