refactor(alertmanager): move config to own defaults file
This commit is contained in:
parent
fb0915841d
commit
02ad9e471d
8
roles/alertmanager/defaults/main/config.yml
Normal file
8
roles/alertmanager/defaults/main/config.yml
Normal 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 }}"
|
@ -8,8 +8,3 @@ alertmanager_config_path: "{{ alertmanager_base_path }}/config"
|
||||
alertmanager_config_file: "{{ alertmanager_config_path }}/alertmanager.yml"
|
||||
alertmanager_data_path: "{{ alertmanager_base_path }}/data"
|
||||
|
||||
|
||||
alertmanager_config:
|
||||
global: {}
|
||||
route: {}
|
||||
receivers: []
|
||||
|
Loading…
Reference in New Issue
Block a user