derekpurdy.configure_prometheus_unraid

Konfiguracja prometheus.yml na unraid za pomocą Ansible z wykorzystaniem listy hostów


  • Dodano wsparcie dla odkrywania plików /etc/prometheus/targets/*.yml przy użyciu file_sd_configs

Ansible Galaxy

https://galaxy.ansible.com/ui/standalone/roles/derekpurdy/configure_prometheus_unraid

Przykład pliku hostów Ansible


all: children: unraid: hosts: server.lan:

Przykład Playbooka Ansible


  • name: Playbook do konfiguracji Prometheusa hosts: unraid gather_facts: yes

    roles:

    • role: derekpurdy.configure_prometheus_unraid

Przykład group_vars/all/vars.yml

prometheus_env: 'NAZWA ŚRODOWISKA' alertmanager_host: 'alertmanager.lan'

Informacje o autorze

Ta rola została stworzona przez Dereka Purdy'ego

O projekcie

Configure prometheus.yml file on Unraid via Ansible using the Ansible hosts list

Zainstaluj
ansible-galaxy install derekpurdy.configure_prometheus_unraid
Licencja
Unknown
Pobrania
525
Właściciel
Some guy with his head in the clouds.