ansible-collection-prometheus/roles/nvidia_gpu_exporter/meta/argument_specs.yml
Jack 5e6c551656 Add nvidia_gpu_exporter
Signed-off-by: Jack <jack4zhang@gmail.com>
2024-10-29 20:03:48 +08:00

46 lines
2.3 KiB
YAML

---
# yamllint disable rule:line-length
argument_specs:
main:
short_description: "Prometheus Nvidia GPU Exporter"
description:
- "Deploy prometheus L(Nvidia GPU exporter,https://github.com/utkuozdemir/nvidia_gpu_exporter) using ansible"
author:
- "Prometheus Community"
options:
nvidia_gpu_exporter_version:
description: "Nvidia GPU exporter package version. Also accepts latest as parameter."
default: "1.2.1"
nvidia_gpu_exporter_binary_url:
description: "URL of the Nvidia GPU exporter binaries .tar.gz file"
default: "https://github.com/{{ _nvidia_gpu_exporter_repo }}/releases/download/v{{ nvidia_gpu_exporter_version }}/nvidia_gpu_exporter_{{ nvidia_gpu_exporter_version }}_{{ ansible_system | lower }}_{{ _nvidia_gpu_exporter_go_ansible_arch }}.tar.gz"
nvidia_gpu_exporter_checksums_url:
description: "URL of the Nvidia GPU exporter checksums file"
default: "https://github.com/{{ _nvidia_gpu_exporter_repo }}/releases/download/v{{ nvidia_gpu_exporter_version }}/sha256sums.txt"
nvidia_gpu_exporter_web_listen_address:
description: "Address on which Nvidia GPU exporter will listen"
default: "0.0.0.0:9835"
nvidia_gpu_exporter_web_telemetry_path:
description: "Path under which to expose metrics"
default: "/metrics"
nvidia_gpu_exporter_binary_install_dir:
description:
- "I(Advanced)"
- "Directory to install nvidia_gpu_exporter binary"
default: "/usr/local/bin"
nvidia_gpu_exporter_system_group:
description:
- "I(Advanced)"
- "System group for Nvidia GPU exporter"
default: "nvidia-gpu-exp"
nvidia_gpu_exporter_system_user:
description:
- "I(Advanced)"
- "Nvidia GPU exporter user"
default: "nvidia-gpu-exp"
nvidia_gpu_exporter_local_cache_path:
description: "Local path to stash the archive and its extraction"
default: "/tmp/nvidia_gpu_exporter-{{ ansible_system | lower }}-{{ _nvidia_gpu_exporter_go_ansible_arch }}/{{ nvidia_gpu_exporter_version }}"
nvidia_gpu_exporter_config_dir:
description: "Path to directory with nvidia_gpu_exporter configuration"
default: "/etc/nvidia_gpu_exporter"