This Ansible role works as a base for other roles that install Prometheus exporters. It gives you a common user and group, as well as directories that all your exporters can use.
All needed packages will be installed with this role.
Available variables are listed below, along with default values:
prometheus_exporters_common_user: prometheus
prometheus_exporters_common_group: prometheus
prometheus_exporters_common_root_dir: /opt/prometheus/exporters
prometheus_exporters_common_dist_dir: "{{ prometheus_exporters_common_root_dir }}/dist"
prometheus_exporters_common_log_dir: /var/log/prometheus
prometheus_exporters_common_conf_dir: /etc/prometheus/exporters
This role doesn't have dependencies.
GPLv2