File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 134
134
import_role :
135
135
name : openondemand
136
136
tasks_from : vnc_compute.yml
137
-
138
137
when : " 'openondemand_desktop' in group_names"
139
138
140
139
- name : Open Ondemand jupyter node
247
246
- import_role :
248
247
name : cloudalchemy.grafana
249
248
tasks_from : install.yml
249
+ - import_role :
250
+ name : cloudalchemy.grafana
251
+ tasks_from : plugins.yml
252
+ - include_role : # done in same play so it can use handlers from cloudalchemy.grafana
253
+ name : grafana-dashboards
250
254
251
255
- name : Run post.yml hook
252
256
vars :
Original file line number Diff line number Diff line change 89
89
- include_role :
90
90
name : cloudalchemy.grafana
91
91
vars :
92
- # We use internal roles to register the dashboards as the role does not support all options that we require.
92
+ # Plugin installation done during fatimage:
93
+ grafana_plugins : " {{ if appliances_mode == 'configure' else grafana_plugins }}"
94
+ # Internal role used to install dashboards as cloudalchemy role does not support all required options:
93
95
grafana_dashboards : []
94
- - import_role : # done in same play so it can use handlers from cloudalchemy.grafana
96
+ - include_role : # done in same play so it can use handlers from cloudalchemy.grafana
95
97
name : grafana-dashboards
98
+ when : " {{ appliances_mode != 'configure '}}"
96
99
97
100
- name : Deploy alertmanager
98
101
hosts : alertmanager
You can’t perform that action at this time.
0 commit comments