env-ansible/tasks/server/prometheus.yml

39 lines
914 B
YAML

---
# DB for analytics, used for Grafana.
# Installing from source seems a bit too complicated since `make` and `make build` isn't working
# Try this: https://devopscube.com/install-configure-prometheus-linux/
# Release: https://github.com/prometheus/prometheus/releases/download/v2.25.1/prometheus-2.25.1.linux-amd64.tar.gz
# Client?: https://prometheus.io/docs/guides/node-exporter/
## Variables ##
#- name: Server | Prometheus | Variables
# set_facts:
# prom_path: /usr/local/prometheus
## Pre-reqs ##
#- name: Server | Prometheus | Pre-Requirements | Install
# package:
# name:
# - make
# - golang-go
# - nodejs
# - yarn
# state: present
#- name: Server | Prometheus | Pre-Requirements | Path
# shell: '{{ item }}'
# loop:
# - mkdir -p {{ prom_path }}
## Install ##
#- name: Server | Prometheus | Install
# shell: "{{ item }}"
# loop:
# -
## Configure ##