grafana / grafana-ansible-collection

grafana.grafana Ansible collection provides modules and roles for managing various resources on Grafana Cloud and roles to manage and deploy Grafana Agent and Grafana
https://docs.ansible.com/ansible/latest/collections/grafana/grafana/index.html#plugins-in-grafana-grafana
GNU General Public License v3.0
125 stars 80 forks source link

fix sles bug (analogue to rhel) #172

Open floerica opened 5 months ago

floerica commented 5 months ago

Hello,

i tried to install grafana on a fresh installed sles box. It fails because of some systemv issues. for rhel you have already a fix, i patched the same in the suse part. During my installation journey i might add other patches for sles too

file: roles/grafana/vars/distro/suse.yml

---
grafana_package: "grafana{{ (grafana_version != 'latest') | ternary('-' ~ grafana_version, '') }}"
# https://unix.stackexchange.com/questions/534463/cant-enable-grafana-on-boot-in-fedora-because-systemd-sysv-install-missing
# applies to SuSe too
_grafana_dependencies:
  - insserv-compat
ishanjainn commented 5 months ago

cc @gardar

gardar commented 5 months ago

@floerica could you open a PR?

floerica commented 5 months ago

done