126c45e646
Signed-off-by: gardar <gardar@users.noreply.github.com>
14 lines
377 B
YAML
14 lines
377 B
YAML
---
|
|
- name: "Create/Delete/Update alert notifications channels (provisioning)"
|
|
ansible.builtin.copy:
|
|
content: |
|
|
apiVersion: 1
|
|
"{{ grafana_alert_notifications | to_nice_yaml }}"
|
|
dest: /etc/grafana/provisioning/notifiers/ansible.yml
|
|
owner: root
|
|
group: grafana
|
|
mode: 0640
|
|
become: true
|
|
notify: restart_grafana
|
|
when: grafana_use_provisioning
|