derekpurdy.configure_prometheus_unraid

Configuring prometheus.yml on Unraid with Ansible using Host List


  • Added support for discovering /etc/prometheus/targets/*.yml using file_sd_configs.

Ansible Galaxy

Visit: Ansible Galaxy Configuration Role

Example of Ansible Hosts File

---

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

Example of Ansible Playbook

---

- name: Playbook for Configuring Prometheus
  hosts: unraid
  gather_facts: yes

  roles:
    - role: derekpurdy.configure_prometheus_unraid

Example of group_vars/all/vars.yml

prometheus_env: 'ENV NAME'
alertmanager_host: 'alertmanager.lan'

Author Information

This role was created by Derek Purdy.

Informazioni sul progetto

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

Installa
ansible-galaxy install derekpurdy.configure_prometheus_unraid
Licenza
Unknown
Download
525
Proprietario
Some guy with his head in the clouds.