File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
environments/common/inventory/group_vars/all Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ prometheus_alertmanager_config_default:
1313 - static_configs :
1414 - targets :
1515 - " {{ alertmanager_address }}:{{ alertmanager_port }}"
16- prometheus_alertmanager_config : " {{ prometheus_alertmanager_config_default if groups['alertmanager'] else {} }}"
16+ prometheus_alertmanager_config_extra : []
17+ prometheus_alertmanager_config : " {{ (prometheus_alertmanager_config_default if groups['alertmanager'] else []) + prometheus_alertmanager_config_extra }}"
1718
1819# By default, find rule files from the following path relative to current and all parent environment inventory directories:
1920# Note: If the same file exists in parent and child environments, only the file in the latter has any effect.
You can’t perform that action at this time.
0 commit comments