Installs the NGINX Exporter for Prometheus.
Requires Ansible role bdellegrazie.ansible-role-prometheus_exporter
Variable | Description | Default |
---|---|---|
nginx_exporter_version |
Version of the exporter to use | 0.4.2 |
nginx_exporter_tarball_checksum |
checksum of the tarball | sha256 checksum of 0.4.2 tarball |
nginx_exporter_options |
Command line options | ['-nginx.scrape_uri http://localhost/nginx_stats'] |
Other variables are in defaults/main.yml
`bdellegrazie.ansible-role-prometheus_exporter`
- hosts: all
roles:
- { role: bdellegrazie.nginx_exporter }
GPLv3
https://github.com/bdellegrazie/ansible-role-nginx_exporter