This role installs Prometheus' postfix exporter on postfix hosts.
As kumina only has the sourcecode available I've set up a GitHub Action CI to automatically build the postfix_exporter binary every monday. Binary will be stored in files/ and is used by the ansible role.
Available variables are listed below, along with default values (see defaults/main.yml
):
postfix_exporter_options: ''
Any additional options to pass to postfix_exporter
when it starts.
postfix_exporter_state: started
postfix_exporter_enabled: true
Controls for the postfix_exporter
service.
None.
- hosts: all
roles:
- role: ansible-role-postfix_exporter
MIT / BSD
This role was created in 2021 by Daniel Weeber. Heavily inspired and forked from Jeff Geerling, author of Ansible for DevOps.