Skip to content

vladsmirnov/ansible-role-varnish-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Prometheus varnish-exporter role

This is the Ansible Prometheus varnish-exporter role. It's designed for consumption by playbooks, not for consumption by itself. It adds the Prometheus varnish-exporter, bound to localhost. It's expected that another role will take care of reverse proxying this exporter with SSL and auth.

Requirements

  • Internet Access

Usage

Include this in another ansible playbook. For sample, consider a generic server playbook:

---
# $PLAYBOOK_ROOT/server.yaml
- name: "server"
  hosts: all
  become: true
  become_user: "root"

Add the reference for the role:

# $PLAYBOOK_ROOT/server.yaml
# ...
become_user: "root"
roles
  - "sitewards.varnish-exporter"

This will allow the role to be discovered. Then, add this repo as a submodule:

$ cd path/to/playbook/root
$ mkdir roles/
$ git submodule add https://github.com/sitewards/ansible-role-varnish-exporter roles/sitewards.varnish-exporter

This should work!

Configuration

The variables that are available are defined in defaults/main.yml

Contact

https://www.sitewards.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published