{"id":22845478,"url":"https://github.com/idealista/prometheus_alertmanager_role","last_synced_at":"2025-07-29T08:05:06.976Z","repository":{"id":46695973,"uuid":"83359854","full_name":"idealista/prometheus_alertmanager_role","owner":"idealista","description":"Ansible role to install Prometheus alert manager","archived":false,"fork":false,"pushed_at":"2022-07-26T08:37:07.000Z","size":113,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-28T16:57:41.790Z","etag":null,"topics":["alert-manager","ansible","debian","prometheus"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-27T21:42:04.000Z","updated_at":"2022-07-21T11:49:32.000Z","dependencies_parsed_at":"2022-08-26T17:42:11.858Z","dependency_job_id":null,"html_url":"https://github.com/idealista/prometheus_alertmanager_role","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/idealista/prometheus_alertmanager_role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_alertmanager_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_alertmanager_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_alertmanager_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_alertmanager_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/prometheus_alertmanager_role/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_alertmanager_role/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267652481,"owners_count":24122093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alert-manager","ansible","debian","prometheus"],"created_at":"2024-12-13T03:17:24.247Z","updated_at":"2025-07-29T08:05:06.929Z","avatar_url":"https://github.com/idealista.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://raw.githubusercontent.com/idealista/prometheus_alertmanager_role/master/logo.gif)\n\n[![Build Status](https://travis-ci.org/idealista/prometheus_alertmanager_role.png)](https://travis-ci.org/idealista/prometheus_alertmanager_role)\n\n# Prometheus Alert Manager Ansible role\n\nThis ansible role installs an Alert Manager server in a debian environment. The server is installed using the sources.\n\n- [Getting Started](#getting-started)\n\t- [Prerequisities](#prerequisities)\n\t- [Installing](#installing)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Built With](#built-with)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Getting Started\n\nThese instructions will get you a copy of the role for your ansible playbook. Once launched, it will install an [Alert Manager](https://prometheus.io/docs/alerting/alertmanager/) server in a Debian system. The role is only compatible with Alert Manager versions greater than 0.13.0.\n\n### Prerequisities\n\nAnsible 2.9.x.x version installed.\nInventory destination should be a Debian environment.\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver. Pipenv 2018.11.26 and Python 3 recommended.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n```\n- src: idealista.prometheus_alertmanager_role\n  version: 3.0.0\n  name: alertmanager\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n```\n---\n- hosts: someserver\n  roles:\n    - role: alertmanager\n```\n\n## Usage\n\nLook to the [defaults](defaults/main.yml) properties file to see the possible configuration properties.\n\nAlert Manager configuration is separated in 4 blocks (see https://prometheus.io/docs/alerting/configuration/).\nFirst one, global configuration, is provided setting the properties for the role. The other ones: routes,\ninhibit roles and receivers must be provided in 3 separated files. By default this files must be stored in\nthe path defined by this parameter `alertmanager_config_parts_path` and the filename headed with the position\nof the block in the final config file. See [this folder](tests/files/) for example.\n\n## Testing\n\n```\npipenv shell\npipenv sync\nmolecule test\n```\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-2.9.21-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.0.8-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/prometheus_alertmanager_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/prometheus_alertmanager_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 Licence](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fprometheus_alertmanager_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fprometheus_alertmanager_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fprometheus_alertmanager_role/lists"}