ansible-ffibk/roles/service-prometheus/defaults/main.yml
2017-12-14 19:45:27 +01:00

31 lines
1,011 B
YAML

---
#
# user-configurable defaults
#
prometheus_components:
- "node_exporter"
prometheus_user: prometheus
prometheus_group: prometheus
prometheus_version: 2.0.0
node_exporter_version: 0.15.1
alertmanager_version: 0.10.0
gosu_version: "1.10"
prometheus_install_path: /opt/prometheus
prometheus_config_path: /etc/prometheus
prometheus_rule_path: "{{ prometheus_config_path }}/rules"
prometheus_file_sd_config_path: "{{ prometheus_config_path }}/tgroups"
prometheus_db_path: /var/lib/prometheus
alertmanager_db_path: /var/lib/alertmanager
prometheus_download_path: /tmp
prometheus_workdir: "{{ prometheus_download_path }}/prometheus_workdir"
prometheus_goroot: "{{ prometheus_workdir }}/go"
prometheus_gopath: "{{ prometheus_workdir }}/gopath"
prometheus_default_opts: "--config.file={{ prometheus_config_path }}/prometheus.yml --storage.tsdb.path={{ prometheus_db_path }}"
alertmanager_default_opts: "-config.file={{ prometheus_config_path }}/alertmanager.yml -storage.path={{ alertmanager_db_path }}"