handle multile nodetpes and uid

This commit is contained in:
m0duspwnens committed 2021-07-20 14:04:28 -04:00
1 parent 4bb350d37d
commit 6038ebb705
2 files changed
+3 -1

No files matched your search

@@ -54,6 +54,8 @@
},
"timezone": "browser",
"title": "Detailed {{ NODETYPE }}",
{% if grains.role in 'so-standalone' %}
"uid": "{{ UID }}",
{% endif %}
"version": 1
}
+1 -1
View File
@@ -87,7 +87,7 @@ grafana-config-files:
- makedirs: True
{% for nodeType in nodeTypes %}
common-standalone-dashboard:
detailed-{{nodeType}}-dashboard:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/detailed/{{nodeType}}.json
- user: 939