We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084e5ef commit e36078fCopy full SHA for e36078f
roles/grafana/tasks/main.yml
@@ -25,15 +25,15 @@
25
set_fact:
26
grafana_version: "{{ ansible_facts.packages.grafana[0].version }}"
27
28
-- name: Template Grafana v7 configuration
+- name: Template Grafana v8 and earlier configuration
29
template:
30
src: grafana_7.ini.j2
31
dest: "{{ __grafana_conf }}"
32
mode: 0640
33
notify: restart grafana
34
when: grafana_version is version('9.0.0', '<')
35
36
-- name: Template Grafana v9 configuration
+- name: Template Grafana v9 and later onfiguration
37
38
src: grafana_9.ini.j2
39
0 commit comments