lorf / ansible-role-alertmanager-bot

Ansible Role: Alertmanager Bot

Home Page:https://github.com/metalmatze/alertmanager-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible role: Alertmanager Bot

Build Status License GitHub tag Open Source Love svg1 PRs Welcome

Ansible role for Alertmanager Bot. Currently this works on Debian and RedHat based linux systems (only systemd support). Tested platforms are:

  • Ubuntu 16.04
  • CentOS 7
  • Debian 9

Requirements

No special requirements; note that this role requires root access, so either run it in a playbook with a global become: yes

Role Variables

The variables that can be passed to this role and a brief description about them are as follows. (For all variables, take a look at defaults/main.yml)

alertmanager_bot_version: 0.4.0

version for installation

alertmanager_bot_telegram_token: 123456

telegram bot token - is required

alertmanager_bot_telegram_admins:
  - 1
  - 2

list of telegram user id for admin accounts - is required

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: alertmanager-bot
  roles:
      - role: mbaran0v.alertmanager-bot

License

MIT / BSD

Author Information

This role was created in 2018 by Maxim Baranov.

About

Ansible Role: Alertmanager Bot

https://github.com/metalmatze/alertmanager-bot


Languages

Language:HTML 80.3%Language:Python 19.7%