ansible-collection-prometheus/roles/pushgateway/meta/argument_specs.yml
gardar e5005614b2
refactor(pushgateway): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:11:35 +00:00

59 lines
2.7 KiB
YAML

---
# yamllint disable rule:line-length
argument_specs:
main:
short_description: "Prometheus Pushgateway"
description:
- "Deploy prometheus L(Pushgateway,https://github.com/prometheus/pushgateway) using ansible"
author:
- "Prometheus Community"
options:
pushgateway_version:
description: "Pushgateway package version. Also accepts latest as parameter."
default: "1.10.0"
pushgateway_binary_url:
description: "URL of the Pushgateway binaries .tar.gz file"
default: "https://github.com/{{ _pushgateway_repo }}/releases/download/v{{ pushgateway_version }}/pushgateway-{{ pushgateway_version }}.{{ ansible_system | lower }}-{{ _pushgateway_go_ansible_arch }}.tar.gz"
pushgateway_checksums_url:
description: "URL of the Pushgateway checksums file"
default: "https://github.com/{{ _pushgateway_repo }}/releases/download/v{{ pushgateway_version }}/sha256sums.txt"
pushgateway_web_listen_address:
description: "Address on which Pushgateway will listen"
default: "0.0.0.0:9091"
pushgateway_web_telemetry_path:
description: "Path under which to expose metrics"
default: "/metrics"
pushgateway_tls_server_config:
description:
- "Configuration for TLS authentication."
- "Keys and values are the same as in L(pushgateway docs,https://github.com/prometheus/pushgateway/blob/master/https/README.md#sample-config)."
type: "dict"
pushgateway_http_server_config:
description:
- "Config for HTTP/2 support."
- "Keys and values are the same as in L(pushgateway docs,https://github.com/prometheus/pushgateway/blob/master/https/README.md#sample-config)."
type: "dict"
pushgateway_basic_auth_users:
description: "Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt."
type: "dict"
pushgateway_binary_install_dir:
description:
- "I(Advanced)"
- "Directory to install pushgateway binary"
default: "/usr/local/bin"
pushgateway_system_group:
description:
- "I(Advanced)"
- "System group for Pushgateway"
default: "pushgateway"
pushgateway_system_user:
description:
- "I(Advanced)"
- "Pushgateway user"
default: "pushgateway"
pushgateway_local_cache_path:
description: "Local path to stash the archive and its extraction"
default: "/tmp/pushgateway-{{ ansible_system | lower }}-{{ _pushgateway_go_ansible_arch }}/{{ pushgateway_version }}"
pushgateway_config_dir:
description: "Path to directory with pushgateway configuration"
default: "/etc/pushgateway"