Home

Awesome

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:

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.