xoxys.grafana/defaults/main.yml

64 lines
1.7 KiB
YAML
Raw Normal View History

2021-09-04 12:25:17 +00:00
---
grafana_packages_extra: []
grafana_instance_name: grafana
grafana_data_dir: /var/lib/grafana
grafana_log_dir: /var/log/grafana
grafana_plugin_dir: "{{ grafana_data_dir }}/plugins"
grafana_bind_ip: 127.0.0.1
grafana_bind_port: 61000
grafana_listen_address: http://localhost
grafana_admin_user: admin
grafana_admin_password: secure
# @var grafana_secret_key:description: Should be replaced by your own secret.
grafana_secret_key: "1234567ABCDEFG"
# @var grafana_db_type:description: >
# Database provider to use. Available options are `mysql`, 'postgres' and `sqlite3`.
# Extended configuration options are only applies to non-sqlite provider.
# @end
grafana_db_type: sqlite3
grafana_db_server: localhost
grafana_db_port: 5432
grafana_db_name: grafana
grafana_db_user: pggrafana
grafana_db_password: secure
grafana_db_ssl_mode: disable
# @var grafana_cache_provider:description: Either `redis`, `memcached' or `database`.
grafana_cache_provider: database
# @var grafana_cache_provider_config:description: >
2022-03-03 19:51:53 +00:00
# Cache connection string options:\
# - `database`: use Grafana's primary database\
# - `redis`: Redis connection URI e.g. `addr=127.0.0.1:6379,pool_size=100,db=0,ssl=false`\
# - `memcache`: Memcache connection URI e.g. `127.0.0.1:11211`\
# @end
# @var grafana_cache_provider_config: $ "_unset_"
# @var grafana_smtp_host: $ "_unset_"
grafana_smtp_from: "grafana@localhost"
grafana_smtp_from_name: "Grafana"
grafana_smtp_port: 587
# @var grafana_smtp_username: $ "_unset_"
# @var grafana_smtp_password: $ "_unset_"
grafana_login_form_enabled: True
grafana_logout_menu_enabled: True
grafana_auth_providers: []
grafana_log_mode:
- console
- file
grafana_log_level: info
grafana_log_providers: []
grafana_datasource_files:
- grafana/datasources/*.yml.j2