mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-29 15:20:17 +00:00
a09941b753
Add a script and workflow to automatically check for upstream releases and create PRs to update the associated role. Signed-off-by: SuperQ <superq@gmail.com>
67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
---
|
|
blackbox_exporter_version: 0.18.0
|
|
blackbox_exporter_repo: "prometheus/blackbox_exporter"
|
|
blackbox_exporter_binary_url: "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: "0.0.0.0:9115"
|
|
|
|
blackbox_exporter_cli_flags: {}
|
|
# blackbox_exporter_cli_flags:
|
|
# log.level: "warn"
|
|
|
|
blackbox_exporter_configuration_modules:
|
|
http_2xx:
|
|
prober: http
|
|
timeout: 5s
|
|
http:
|
|
method: GET
|
|
valid_status_codes: []
|
|
# http_post_2xx:
|
|
# prober: http
|
|
# timeout: 5s
|
|
# http:
|
|
# method: POST
|
|
# basic_auth:
|
|
# username: "username"
|
|
# password: "mysecret"
|
|
# tcp_connect:
|
|
# prober: tcp
|
|
# timeout: 5s
|
|
# pop3s_banner:
|
|
# prober: tcp
|
|
# tcp:
|
|
# query_response:
|
|
# - expect: "^+OK"
|
|
# tls: true
|
|
# tls_config:
|
|
# insecure_skip_verify: false
|
|
# ssh_banner:
|
|
# prober: tcp
|
|
# timeout: 5s
|
|
# tcp:
|
|
# query_response:
|
|
# - expect: "^SSH-2.0-"
|
|
# irc_banner:
|
|
# prober: tcp
|
|
# timeout: 5s
|
|
# tcp:
|
|
# query_response:
|
|
# - send: "NICK prober"
|
|
# - send: "USER prober prober prober :prober"
|
|
# - expect: "PING :([^ ]+)"
|
|
# send: "PONG ${1}"
|
|
# - expect: "^:[^ ]+ 001"
|
|
# icmp_test:
|
|
# prober: icmp
|
|
# timeout: 5s
|
|
# icmp:
|
|
# preferred_ip_protocol: ip4
|
|
# dns_test:
|
|
# prober: dns
|
|
# timeout: 5s
|
|
# dns:
|
|
# preferred_ip_protocol: ip6
|
|
# validate_answer_rrs:
|
|
# fail_if_matches_regexp: [test]
|