mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 11:53:12 +00:00
fix: add binary/checksum urls to argument specs
Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
parent
f9ccb4dcd0
commit
081f7797a7
3 changed files with 24 additions and 3 deletions
|
@ -15,6 +15,13 @@ argument_specs:
|
|||
- "Allows to use local packages instead of ones distributed on github."
|
||||
- "As parameter it takes a directory where C(alertmanager) AND C(amtool) binaries are stored on host on which ansible is ran."
|
||||
- "This overrides I(alertmanager_version) parameter"
|
||||
alertmanager_binary_url:
|
||||
description: "URL of the alertmanager binaries .tar.gz file"
|
||||
default: "https://github.com/prometheus/alertmanager/releases/download/v{{ alertmanager_version }}/\
|
||||
alertmanager-{{ alertmanager_version }}.linux-{{ go_arch }}.tar.gz"
|
||||
alertmanager_checksums_url:
|
||||
description: "URL of the alertmanager checksums file"
|
||||
default: "https://github.com/prometheus/alertmanager/releases/download/v{{ alertmanager_version }}/sha256sums.txt"
|
||||
alertmanager_web_listen_address:
|
||||
description: "Address on which alertmanager will be listening"
|
||||
default: "0.0.0.0:9093"
|
||||
|
|
|
@ -15,6 +15,13 @@ argument_specs:
|
|||
- "Enables the use of local packages instead of those distributed on github."
|
||||
- "The parameter may be set to a directory where the C(node_exporter) binary is stored on the host where ansible is run."
|
||||
- "This overrides the I(node_exporter_version) parameter"
|
||||
node_exporter_binary_url:
|
||||
description: "URL of the node exporter binaries .tar.gz file"
|
||||
default: "https://github.com/prometheus/node_exporter/releases/download/v{{ node_exporter_version }}/\
|
||||
node_exporter-{{ node_exporter_version }}.linux-{{ go_arch }}.tar.gz"
|
||||
node_exporter_checksums_url:
|
||||
description: "URL of the node exporter checksums file"
|
||||
default: "https://github.com/prometheus/node_exporter/releases/download/v{{ node_exporter_version }}/sha256sums.txt"
|
||||
node_exporter_web_listen_address:
|
||||
description: "Address on which node exporter will listen"
|
||||
default: "0.0.0.0:9100"
|
||||
|
@ -47,14 +54,11 @@ argument_specs:
|
|||
- "Configuration for TLS authentication."
|
||||
- "Keys and values are the same as in L(node_exporter docs,https://github.com/prometheus/node_exporter/blob/master/https/README.md#sample-config)."
|
||||
type: "dict"
|
||||
elements: "str"
|
||||
node_exporter_http_server_config:
|
||||
description:
|
||||
- "Config for HTTP/2 support."
|
||||
- "Keys and values are the same as in L(node_exporter docs,https://github.com/prometheus/node_exporter/blob/master/https/README.md#sample-config)."
|
||||
type: "dict"
|
||||
elements: "str"
|
||||
node_exporter_basic_auth_users:
|
||||
description: "Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt."
|
||||
type: "dict"
|
||||
elements: "str"
|
||||
|
|
|
@ -10,9 +10,19 @@ argument_specs:
|
|||
snmp_exporter_version:
|
||||
description: "SNMP exporter package version"
|
||||
default: "0.19.0"
|
||||
snmp_exporter_binary_url:
|
||||
description: "URL of the snmp exporter binaries .tar.gz file"
|
||||
default: "https://github.com/prometheus/snmp_exporter/releases/download/v{{ snmp_exporter_version }}/\
|
||||
snmp_exporter-{{ snmp_exporter_version }}.linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}.tar.gz"
|
||||
snmp_exporter_checksums_url:
|
||||
description: "URL of the snmp exporter checksums file"
|
||||
default: "https://github.com/prometheus/snmp_exporter/releases/download/v{{ snmp_exporter_version }}/sha256sums.txt"
|
||||
snmp_exporter_web_listen_address:
|
||||
description: "Address on which SNMP exporter will be listening"
|
||||
default: "0.0.0.0:9116"
|
||||
snmp_exporter_log_level:
|
||||
description: "SNMP exporter service log level"
|
||||
default: info
|
||||
snmp_exporter_config_file:
|
||||
description:
|
||||
- "If this is empty, role will download snmp.yml file from U(https://github.com/prometheus/snmp_exporter)."
|
||||
|
|
Loading…
Reference in a new issue