derekpurdy.configure_prometheus_unraid
通过 Ansible 使用主机列表在 unraid 上配置 prometheus.yml
- 添加了对 /etc/prometheus/targets/*.yml 的发现支持,使用 file_sd_configs
Ansible Galaxy
https://galaxy.ansible.com/ui/standalone/roles/derekpurdy/configure_prometheus_unraid
Ansible 主机文件示例
---
all:
children:
unraid:
hosts:
server.lan:
Ansible 剧本示例
---
- name: 配置 Prometheus 的剧本
hosts: unraid
gather_facts: yes
roles:
- role: derekpurdy.configure_prometheus_unraid
group_vars/all/vars.yml 示例
prometheus_env: '环境名称'
alertmanager_host: 'alertmanager.lan'
作者信息
该角色由 Derek Purdy 创建
关于项目
Configure prometheus.yml file on Unraid via Ansible using the Ansible hosts list
安装
ansible-galaxy install derekpurdy.configure_prometheus_unraid
许可证
Unknown
下载
525
拥有者
Some guy with his head in the clouds.