ansible/roles/grafana/defaults/main.yaml

41 lines
1.1 KiB
YAML
Raw Normal View History

2019-12-02 02:40:29 +00:00
---
grafana_package_version:
2022-08-31 18:03:18 +00:00
grafana_package_name: "grafana{{ grafana_package_version }}"
2019-12-02 02:40:29 +00:00
grafana_package_state: present
grafana_service_name: grafana-server.service
grafana_service_state: started
2022-08-31 18:03:18 +00:00
grafana_service_enabled: true
2019-12-02 02:40:29 +00:00
grafana_etc_path: /etc/grafana
2022-09-01 01:49:50 +00:00
grafana_var_path: /var/lib/grafana
grafana_dashboard_path: "{{ grafana_var_path }}/dashboards"
2019-12-02 02:40:29 +00:00
grafana_config_path: "{{ grafana_etc_path }}/grafana.ini"
2020-06-12 21:32:02 +00:00
grafana_provisioning_path: /etc/grafana/provisioning
2019-12-02 02:40:29 +00:00
grafana_domain: "stats.{{ ansible_domain }}"
2019-12-04 02:19:45 +00:00
grafana_port: 3002
2019-12-02 02:40:29 +00:00
grafana_user: grafana
grafana_group: grafana
grafana_config:
server:
domain: "{{ grafana_domain }}"
root_url: "https://{{ grafana_domain }}"
http_addr: localhost
http_port: "{{ grafana_port }}"
2020-06-12 21:32:02 +00:00
2022-08-31 18:03:18 +00:00
grafana_ssl_enabled: true
2024-04-14 22:54:33 +00:00
grafana_ssl_certificate: "/var/lib/lego/certificates/{{ grafana_domain }}.crt"
grafana_ssl_certificate_key: "/var/lib/lego/certificates/{{ grafana_domain }}.key"
2022-08-31 18:03:18 +00:00
# grafana_ssl_dhparam: "/etc/letsencrypt/ssl-dhparams.pem"
2020-06-12 21:32:02 +00:00
2022-09-01 01:49:50 +00:00
grafana_user_dashboard_path: files/grafana/dashboards/
2020-06-12 21:32:02 +00:00
grafana_datasources:
{}
2020-06-12 21:32:02 +00:00
grafana_dashboards:
{}