An Ansible role which installs and configures Prometheus blackbox_exporter on Linux
Ansible 2.8+
You can see all vars in defaults/main.yml
vars file.
If you use docker swarm, you should specify variables for the host on which
the container is supposed to be run, and also indicate the name of the swarm
manager through which the stack will be deployed in variable
blackbox_swarm_manager
blackbox_swarm_manager: swarm-manager01
None
- name: Ensure prometheus_blackbox_exporter
hosts: prometheus_blackbox_exporters
remote_user: root
roles:
- prometheus_blackbox_exporter
Apache 2.0
This role was created by Stan Bogatkin.