Skip to content

Commit 9fb8d05

Browse files
committed
get ondemand and monitoring working
1 parent 89461e4 commit 9fb8d05

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ansible/monitoring.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- name: Setup slurm stats
1818
hosts: slurm_stats
1919
tags: slurm_stats
20+
environment: "{{ appliances_environment_vars }}"
2021
tasks:
2122
- include_role:
2223
name: slurm_stats
@@ -33,7 +34,8 @@
3334
hosts: node_exporter
3435
tags: node_exporter
3536
tasks:
36-
- import_role: name=cloudalchemy.node_exporter
37+
- import_role:
38+
name: cloudalchemy.node_exporter
3739

3840
- name: Deploy OpenOndemand exporter
3941
hosts: openondemand
@@ -50,6 +52,7 @@
5052
hosts: control
5153
become: true
5254
tags: slurm_exporter
55+
environment: "{{ appliances_environment_vars }}"
5356
tasks:
5457
- import_role:
5558
name: slurm_exporter
@@ -76,6 +79,7 @@
7679
- name: Deploy grafana
7780
hosts: grafana
7881
tags: grafana
82+
environment: "{{ appliances_environment_vars }}"
7983
tasks:
8084
- assert:
8185
that: vault_grafana_admin_password is defined

ansible/portal.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- openondemand
44
- openondemand_server
55
become: yes
6+
environment: "{{ appliances_environment_vars }}"
67
gather_facts: yes # TODO
78
tasks:
89
- import_role:
@@ -14,6 +15,7 @@
1415
- openondemand
1516
- openondemand_desktop
1617
become: yes
18+
environment: "{{ appliances_environment_vars }}"
1719
gather_facts: yes
1820
tasks:
1921
- import_role:
@@ -25,6 +27,7 @@
2527
- openondemand
2628
- openondemand_jupyter
2729
become: yes
30+
environment: "{{ appliances_environment_vars }}"
2831
gather_facts: yes
2932
tasks:
3033
- import_role:

0 commit comments

Comments
 (0)