This ansible role installs a Prometheus Apache Exporter.
These instructions will get you a copy of the role for your ansible playbook. Once launched, it will install an Prometheus Apache Exporter server.
Ansible 2.10.x version installed.
Create or add to your roles dependency file (e.g requirements.yml):
- src: xat.apache_exporter
version: 2.1.0
name: apache_exporter
Install the role with ansible-galaxy command:
ansible-galaxy install -p roles -r requirements.yml -f
Use in a playbook:
---
- hosts: someserver
roles:
- role: apache_exporter
Look to the defaults properties file to see the possible configuration properties. To work properly apache module mod_status
should be enabled and configure.
molecule test
For the versions available, see the tags on this repository.
Additionaly you can see what change in each version in the CHANGELOG.md file.
This project is licensed under the Apache 2.0 license - see the LICENSE.txt file for details.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.