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 134134 import_role :
135135 name : openondemand
136136 tasks_from : vnc_compute.yml
137-
138137 when : " 'openondemand_desktop' in group_names"
139138
140139 - name : Open Ondemand jupyter node
247246 - import_role :
248247 name : cloudalchemy.grafana
249248 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
250254
251255- name : Run post.yml hook
252256 vars :
Original file line number Diff line number Diff line change 8989 - include_role :
9090 name : cloudalchemy.grafana
9191 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:
9395 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
9597 name : grafana-dashboards
98+ when : " {{ appliances_mode != 'configure '}}"
9699
97100- name : Deploy alertmanager
98101 hosts : alertmanager
You can’t perform that action at this time.
0 commit comments