--- # Use this to override the template for more complicated uses prometheus_template_source: prometheus/prometheus.yml prometheus_ui_listen: ':9090' prometheus_home_dir: /var/lib/prometheus prometheus_data_dir: '{{prometheus_home_dir}}/data' prometheus_retention_time: "730d" prometheus_log: '{{prometheus_home_dir}}/log' prometheus_user: prometheus prometheus_version: "2.15.1" # Should resolve to "linux" prometheus_os: "{{ansible_facts['system']|lower}}" prometheus_checksum: f8d2b9e8f9551a3dd6f476a43ea9f699d18d2cc6558baf0eebe0143d8f9c1d5a prometheus_architecture: amd64 prometheus_url: "https://github.com/prometheus/prometheus/releases/download/v{{prometheus_version}}/prometheus-{{prometheus_version}}.{{prometheus_os}}-{{prometheus_architecture}}.tar.gz" # Newlines are automatically replaced with spaces prometheus_opts: | --config.file "{{prometheus_home_dir}}/conf/prometheus.yml" --storage.tsdb.path "{{prometheus_data_dir}}" --storage.tsdb.retention.time "{{prometheus_retention_time}}" --web.listen-address "{{prometheus_ui_listen}}" --web.enable-admin-api # The default template makes it easy to scrape Netdata from internal hosts prometheus_netdata_hosts: - localhost:19999 # Only inserted into the template if defined # prometheus_netdata_tls_hosts: # - example.com:19443