derekpurdy.configure_prometheus_unraid

Configuration de prometheus.yml sur un unraid via Ansible en utilisant la liste des hôtes


  • Ajout du support pour la découverte des fichiers /etc/prometheus/targets/*.yml en utilisant file_sd_configs

Ansible Galaxy

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

Exemple de fichier d'hôtes Ansible

---

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

Exemple de Playbook Ansible

---

- name: Playbook pour la configuration de Prometheus
  hosts: unraid
  gather_facts: oui

  roles:
    - role: derekpurdy.configure_prometheus_unraid

Exemple de group_vars/all/vars.yml

prometheus_env: 'NOM DE L\'ENV'
alertmanager_host: 'alertmanager.lan'

Informations sur l'auteur

Ce rôle a été créé par Derek Purdy

À propos du projet

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

Installer
ansible-galaxy install derekpurdy.configure_prometheus_unraid
Licence
Unknown
Téléchargements
525
Propriétaire
Some guy with his head in the clouds.