first commit

This commit is contained in:
ace
2023-08-10 17:14:07 +03:00
commit f332f22f1a
8 changed files with 110 additions and 0 deletions

8
vars/Debian.yaml Normal file
View File

@ -0,0 +1,8 @@
postgres_exporter_apt_repository:
- repo: deb [trusted=yes] https://mirror.0xace.cc/debian/custom/ default all
filename: mirror.0xace.cc
postgres_exporter_package_name: "postgres-exporter"
postgres_exporter_package: "{{ postgres_exporter_package_name }}={{ postgres_exporter_version }}-{{ postgres_exporter_version_build }}"
postgres_exporter_version_build: "1"
postgres_exporter_unit_name: "postgres_exporter"

14
vars/RedHat.yaml Normal file
View File

@ -0,0 +1,14 @@
postgres_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
postgres_exporter_package_name: "postgres_exporter"
postgres_exporter_package: "{{ postgres_exporter_package_name }}-{{ postgres_exporter_version }}"
postgres_exporter_unit_name: "{{ postgres_exporter_package_name }}"