mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 14:24:25 +00:00
742ce8b3ae
This is similar to prometheus_skip_install variable and does what the name says: when set, it won't try to re-download blackbox_exporter binary Also, fix a small typo in the preflight task. Signed-off-by: Christian Brabandt <cb@256bit.org>
36 lines
1.5 KiB
YAML
36 lines
1.5 KiB
YAML
---
|
|
# yamllint disable rule:line-length
|
|
argument_specs:
|
|
main:
|
|
short_description: "Deploy and manage Prometheus blackbox exporter"
|
|
description:
|
|
- "Deploy and manage Prometheus blackbox exporter which allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP."
|
|
author:
|
|
- "Prometheus Community"
|
|
options:
|
|
blackbox_exporter_version:
|
|
description: "Blackbox exporter package version"
|
|
default: "0.18.0"
|
|
blackbox_exporter_skip_install:
|
|
description: "Blackbox exporter installation tasks gets skipped when set to true."
|
|
type: bool
|
|
default: false
|
|
blackbox_exporter_binary_url:
|
|
description: "URL of the blackbox_exporter binaries .tar.gz file"
|
|
default: "https://github.com/{{ _blackbox_exporter_repo }}/releases/download/v{{ blackbox_exporter_version }}/blackbox_exporter-{{ blackbox_exporter_version }}.linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.tar.gz"
|
|
blackbox_exporter_web_listen_address:
|
|
description: "Address on which blackbox exporter will be listening"
|
|
default: "0.0.0.0:9115"
|
|
blackbox_exporter_cli_flags:
|
|
description: "Additional configuration flags passed to blackbox exporter binary at startup"
|
|
type: "dict"
|
|
blackbox_exporter_configuration_modules:
|
|
description: "Endpoints configuration"
|
|
type: "dict"
|
|
default:
|
|
http_2xx:
|
|
prober: http
|
|
timeout: 5s
|
|
http:
|
|
method: GET
|
|
valid_status_codes: []
|