ansible-collection-prometheus/roles/smartctl_exporter/defaults/main.yml
gardar 0da12f7cdc
refactor(smartctl_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:12:36 +00:00

32 lines
1.5 KiB
YAML

---
smartctl_exporter_version: 0.12.0
smartctl_exporter_binary_url: "https://github.com/{{ _smartctl_exporter_repo }}/releases/download/v{{ smartctl_exporter_version }}/\
smartctl_exporter-{{ smartctl_exporter_version }}.{{ ansible_system | lower }}-{{ _smartctl_exporter_go_ansible_arch }}.tar.gz"
smartctl_exporter_checksums_url: "https://github.com/{{ _smartctl_exporter_repo }}/releases/download/v{{ smartctl_exporter_version }}/sha256sums.txt"
smartctl_exporter_smartctl_path: "/usr/sbin/smartctl"
smartctl_exporter_smartctl_interval: "60s"
smartctl_exporter_smartctl_rescan: "10m"
smartctl_exporter_smartctl_devices: []
smartctl_exporter_smartctl_device_exclude: ""
smartctl_exporter_smartctl_device_include: ""
smartctl_exporter_web_listen_address: "0.0.0.0:9633"
smartctl_exporter_web_telemetry_path: "/metrics"
smartctl_exporter_tls_server_config: {}
smartctl_exporter_http_server_config: {}
smartctl_exporter_basic_auth_users: {}
smartctl_exporter_log_level: "info"
smartctl_exporter_log_format: "logfmt"
smartctl_exporter_binary_install_dir: "/usr/local/bin"
smartctl_exporter_system_group: "smartctl-exp"
smartctl_exporter_system_user: "{{ smartctl_exporter_system_group }}"
smartctl_exporter_config_dir: "/etc/smartctl_exporter"
# Local path to stash the archive and its extraction
smartctl_exporter_local_cache_path: "/tmp/smartctl_exporter-{{ ansible_system | lower }}-{{ _smartctl_exporter_go_ansible_arch }}/{{ smartctl_exporter_version }}"