Yoda-BZH / ansible-prometheus_ssl_exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: ssl exporter

License GitHub tag

Description

Deploy prometheus Ribbybibby ssl_exporter using ansible.

Ribbybibby ssl_exporter allow to monitor independently each certifacte of the chain (unlike blackbox_exporter)

Notes

Role forked and largely inspired by Cloudalchemy Blackbox Exporter Ansible role

Role is supposed to work with Debian, Suse, RedHat, Fedora, (See Ansible Galaxy meta), but it was only tested on Ubuntu Bionic (18.04).

Requirements

  • Ansible >= 2.7 (It might work on previous versions, but we cannot guarantee it)

Role Variables

All variables which can be overridden are stored in defaults/main.yml file.

Only two are defined:

  • ssl_exporter_version: version of ssl_exporter to install
  • ssl_exporter_web_listen_address: IP and port to listen

All other flags used by ssl_exporter can be defined by ssl_exporter_cli_flags variable.

Example

Playbook

Use it in a playbook as follows:

- hosts: all
  roles:
    - umanit.prometheus_ssl_exporter

License

This project is licensed under MIT License. See LICENSE for more details.

About