hostwithquantum.loki

ansible-lint flake8 yaml-lint molecule

ansible-loki

一个安装 Grafana Loki 和 Promtail 的 Ansible 角色。

需求

对于通过二进制文件安装的 loki/promtail:

  • 主机上需要安装 unzip

对于容器化的 promtail:

  • Python: docker==4.3.1
  • docker-cli

角色变量

请查看 defaults/main.yml 以自定义此角色。

依赖关系

无。

示例剧本

这个角色根据库存组来驱动:

all:
  hosts:
    monitoring.host.example.org:
  children:
    loki:
      monitoring.host.example.org:
    promtail:
      monitoring.host.example.org:

和剧本:

- hosts: all
  roles:
    - role: hostwithquantum.loki

许可证

BSD-2-Clause

作者信息

角色作者可选的联系信息或网站部分(不允许 HTML)。

关于项目

Install Grafana Loki

安装
ansible-galaxy install hostwithquantum.loki
许可证
bsd-2-clause
下载
145
拥有者
We host and build container services.