ansible/roles/grafana/tasks/Ubuntu-18.yaml

20 lines
463 B
YAML
Raw Normal View History

---
- name: create grafana-server.service.d
2022-08-31 18:03:18 +00:00
ansible.builtin.file:
path: /etc/systemd/system/grafana-server.service.d
owner: root
group: root
mode: 0755
state: directory
- name: configure systemd override
2022-08-31 18:03:18 +00:00
ansible.builtin.copy:
src: Ubuntu-18-override.conf
dest: /etc/systemd/system/grafana-server.service.d/10-override.conf
owner: root
group: root
mode: 0644
notify:
- grafana daemon-reload
- restart grafana