mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-26 13:50:20 +00:00
100b6e2070
* fix: Add test for argument_specs matching Compare contents of `meta/arguments_spec.yml` against `defaults/main.yml` on each role to make sure keys match. Signed-off-by: SuperQ <superq@gmail.com> * Fixup arguments_spec linting issues. Signed-off-by: SuperQ <superq@gmail.com> --------- Signed-off-by: SuperQ <superq@gmail.com>
45 lines
1.9 KiB
YAML
45 lines
1.9 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.24.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: []
|
|
blackbox_exporter_config_dir:
|
|
description: "Directory where the blackbox exporter configuration file is placed"
|
|
default: "/etc"
|
|
blackbox_exporter_user:
|
|
description: "The user the exporter runs as"
|
|
default: "blackbox-exp"
|
|
blackbox_exporter_group:
|
|
description: "The group the exporter runs as"
|
|
default: "blackbox-exp"
|