https://github.com/rolehippie/amtool
Ansible role to install Alertmanager CLI
https://github.com/rolehippie/amtool
ansible ansible-role hacktoberfest role
Last synced: 5 months ago
JSON representation
Ansible role to install Alertmanager CLI
- Host: GitHub
- URL: https://github.com/rolehippie/amtool
- Owner: rolehippie
- License: apache-2.0
- Created: 2024-01-24T08:29:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2026-02-11T22:11:58.000Z (5 months ago)
- Last Synced: 2026-02-12T07:09:54.715Z (5 months ago)
- Topics: ansible, ansible-role, hacktoberfest, role
- Language: Nix
- Size: 201 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# alertmanager
[](https://github.com/rolehippie/amtool)
[](https://github.com/rolehippie/amtool/actions/workflows/general.yml)
[](https://github.com/rolehippie/amtool/actions/workflows/docs.yml)
[](https://github.com/rolehippie/amtool/actions/workflows/galaxy.yml)
[](https://github.com/rolehippie/amtool/blob/master/LICENSE)
[](https://galaxy.ansible.com/rolehippie/amtool)
Ansible role to install Alertmanager CLI.
## Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like **[Cloudpunks GmbH](https://cloudpunks.de)** and **[Proact Deutschland GmbH](https://www.proact.eu)**.
## Table of contents
- [Requirements](#requirements)
- [Default Variables](#default-variables)
- [amtool_arch](#amtool_arch)
- [amtool_download](#amtool_download)
- [amtool_extract_directory](#amtool_extract_directory)
- [amtool_group](#amtool_group)
- [amtool_install_directory](#amtool_install_directory)
- [amtool_owner](#amtool_owner)
- [amtool_version](#amtool_version)
- [amtool_version_changed](#amtool_version_changed)
- [Discovered Tags](#discovered-tags)
- [Dependencies](#dependencies)
- [License](#license)
- [Author](#author)
---
## Requirements
- Minimum Ansible version: `2.10`
## Default Variables
### amtool_arch
Target system architecture of the binary
#### Default value
```YAML
amtool_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' or ansible_architecture
== 'arm64' else 'amd64' }}"
```
### amtool_download
URL to the archive of the release to install
#### Default value
```YAML
amtool_download:
https://github.com/prometheus/alertmanager/releases/download/v{{
amtool_version }}/alertmanager-{{ amtool_version }}.linux-{{ amtool_arch
}}.tar.gz
```
### amtool_extract_directory
Directory in which to extract the downloaded archive
#### Default value
```YAML
amtool_extract_directory: /usr/local/src
```
### amtool_group
Group who will own the binary file
#### Default value
```YAML
amtool_group: root
```
### amtool_install_directory
Directory in which to install the binary
#### Default value
```YAML
amtool_install_directory: /usr/bin
```
### amtool_owner
User who will own the binary file
#### Default value
```YAML
amtool_owner: root
```
### amtool_version
Version of the release to install
#### Default value
```YAML
amtool_version: 0.31.1
```
### amtool_version_changed
Fact to define if the version has changed
#### Default value
```YAML
amtool_version_changed: false
```
## Discovered Tags
**_amtool_**
## Dependencies
- None
## License
Apache-2.0
## Author
[Thomas Boerger](https://github.com/tboerger)