Ansible role to install and configure promcheck.
If latest
is set for prometheus_version
, the role tries to install the latest release version.
Please use this with caution, as incompatibilities between releases may occur!
The binaries are installed below /usr/local/opt/promcheck/${prometheus_version}
and later linked to /usr/bin
.
This should make it possible to downgrade relatively safely.
The promcheck archive is stored on the Ansible controller, unpacked and then the binaries are copied to the target system.
The cache directory can be defined via the environment variable CUSTOM_LOCAL_TMP_DIRECTORY
.
By default it is ${HOME}/.cache/ansible/promcheck
.
If this type of installation is not desired, the download can take place directly on the target system.
However, this must be explicitly activated by setting promcheck_direct_download
to true
.
Tested on
- Arch Linux
- Debian based
- Debian 10 / 11
- Ubuntu 20.10
Please read Contribution
The master
Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!
If you want to use something stable, please use a Tagged Version!
promcheck_version: "1.1.8"
promcheck_direct_download: false
promcheck_release: {}
- Bodo Schulz
FREE SOFTWARE, HELL YEAH!