Skip to content

mbaran0v/ansible-role-alertmanager-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1e11b9e · Feb 4, 2022

History

27 Commits
Jun 24, 2020
May 26, 2019
Jun 24, 2020
Dec 27, 2018
Mar 29, 2020
Dec 29, 2020
Jun 24, 2020
Nov 21, 2018
Nov 21, 2018
May 26, 2019
Nov 21, 2018
Dec 29, 2020
Feb 26, 2020

Repository files navigation

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
  • Debian 10

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.