Skip to content

Commit 1e80b3b

Browse files
committed
simplify fixing appliances_repository_root for CaaS
1 parent 66ac57c commit 1e80b3b

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

group_vars/cluster.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Account for the fact we are running outside of the expected environment system:
2+
# NB: this only works for playbooks in ansible/*, not in ansible/adhoc!
3+
appliances_repository_root: "{{ playbook_dir }}/../"
4+
15
# Convert the variable supplied by the portal into the one expected by the Slurm appliance
26
update_enable: "{{ cluster_upgrade_system_packages | default('false') | bool }}"
37
# The update logs are written on the Ansible controller

group_vars/filebeat.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

group_vars/opendistro.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

group_vars/prometheus.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,3 @@ openondemand_address: "{{ hostvars[groups['openondemand'].0].api_address if 'ope
66
# Override group_var set in ansible-slurm-appliance all group - unless
77
# OOD is being deployed then there won't be an OOD group
88
prometheus_scrape_configs: "{{ prometheus_scrape_configs_default + (openondemand_scrape_configs if ( 'openondemand' in groups ) else [] ) }}"
9-
10-
# Modify to account for the fact we are running outside of the expected environment system
11-
prometheus_alert_rules_files:
12-
- "{{ playbook_dir }}/../environments/common/files/prometheus/rules/*.rules"

0 commit comments

Comments
 (0)