mbaran0v.ansible_role_alertmanager_bot

Ansible Role: Alertmanager Bot

Build Status License GitHub tag Open Source Love svg1 PRs Welcome

This is an Ansible role for the Alertmanager Bot. It works on Debian and RedHat-based Linux systems (only with systemd support). The tested platforms are:

  • Ubuntu 16.04
  • CentOS 7
  • Debian 9
  • Debian 10

Requirements

No special requirements; however, this role needs root access. Make sure to run it in a playbook with become: yes.

Role Variables

Here are the variables you can use with this role, along with a brief description. For more details, check defaults/main.yml.

alertmanager_bot_version: 0.4.0

This specifies the version to install.

alertmanager_bot_telegram_token: 123456

This is the required token for the Telegram bot.

alertmanager_bot_telegram_admins:
  - 1
  - 2

This is a list of Telegram user IDs for admin accounts. This is also required.

Dependencies

None

Example Playbook

Here’s an example of how to use this role, including variables:

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

License

MIT / BSD

Author Information

This role was created in 2018 by Maxim Baranov.

Informazioni sul progetto

Alertmanager Bot (https://github.com/metalmatze/alertmanager-bot)

Installa
ansible-galaxy install mbaran0v.ansible_role_alertmanager_bot
Licenza
Unknown
Download
213
Proprietario
Experienced DevOps Engineer