2022-08-30 12:08:39 +00:00
|
|
|
---
|
|
|
|
- name: create grafana-server.service.d
|
2022-08-31 18:03:18 +00:00
|
|
|
ansible.builtin.file:
|
2022-08-30 12:08:39 +00:00
|
|
|
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:
|
2022-08-30 12:08:39 +00:00
|
|
|
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
|