Skip to content

elan-ev/monitoring_mysqld_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for the mysqld_exporter

molecule

Install the latest mysqld_exporter version with ansible.

Role Variables

There are only two variables, both are required: mysqld_exporter_password for the exporter user on the database and mysqld_exporter_db_root_password to be able to create said user.

Example Playbook

If you do not want to change the defaults, just add the role to your playbook:

- hosts: all
  become: true
  roles:
    - role: elan.monitoring_mysqld_exporter
      vars:
        mysqld_exporter_password: 1234
        mysqld_exporter_db_root_password: 5678

License

BSD-3-Clause

Author Information

ELAN e.V