Skip to content

Commit 95985f0

Browse files
committed
converge caas prom config
1 parent 2b264c7 commit 95985f0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
---
2-
# Override openondemand_address because its needed in openondemand_scrape_configs
3-
# which is used in prometheus_scrape_configs
4-
openondemand_address: "{{ hostvars[groups['openondemand'].0].api_address if 'openondemand' in groups else '' }}"
5-
6-
# Override group_var set in ansible-slurm-appliance all group - unless
7-
# OOD is being deployed then there won't be an OOD group
8-
prometheus_scrape_configs: "{{ prometheus_scrape_configs_default + (openondemand_scrape_configs if ( 'openondemand' in groups ) else [] ) }}"
92

103
# Set Prometheus storage retention size
11-
prometheus_storage_retention_size: "{{ metrics_db_maximum_size }}GB"
4+
prometheus_storage_retention_size: "{{ metrics_db_maximum_size }}GB"

0 commit comments

Comments
 (0)