first commit

This commit is contained in:
ace
2023-08-10 17:12:28 +03:00
commit c3c1c7de07
8 changed files with 83 additions and 0 deletions

9
vars/Debian.yaml Normal file
View File

@ -0,0 +1,9 @@
node_exporter_apt_repository:
- repo: deb [trusted=yes] https://mirror.0xace.cc/debian/custom/ default all
filename: mirror.0xace.cc
node_exporter_package_name: "node-exporter"
node_exporter_package: "{{ node_exporter_package_name }}={{ node_exporter_version }}-{{ node_exporter_version_build }}"
node_exporter_version_build: "1"
node_exporter_unit_name: "node_exporter"

14
vars/RedHat.yaml Normal file
View File

@ -0,0 +1,14 @@
node_exporter_rpm_repository:
- name: "prometheus"
file: "prometheus"
description: "Prometheus repository"
baseurl: "https://packagecloud.io/prometheus-rpm/release/el/$releasever/$basearch"
repo_gpgcheck: yes
gpgcheck: yes
gpgkey: >-
https://packagecloud.io/prometheus-rpm/release/gpgkey
https://raw.githubusercontent.com/lest/prometheus-rpm/master/RPM-GPG-KEY-prometheus-rpm
node_exporter_package_name: "node_exporter"
node_exporter_package: "{{ node_exporter_package_name }}-{{ node_exporter_version }}"
node_exporter_unit_name: "{{ node_exporter_package_name }}"