Set Grafana configure block to be... well, a block

This commit is contained in:
Salt 2020-08-07 04:35:29 -05:00
parent bb73e21432
commit d8ec1fc1d3

View File

@ -32,10 +32,12 @@
name:
- grafana
- name: Configure Grafana
template:
src: "grafana.ini"
dest: "/etc/grafana/grafana.ini"
mode: "0640"
block:
- name: Template out main config
template:
src: "grafana.ini"
dest: "/etc/grafana/grafana.ini"
mode: "0640"
- name: Enable Grafana
systemd:
daemon_reload: yes