Skip to content

nephelaiio/ansible-role-heartbeat

Repository files navigation

nephelaiio.heartbeat

Build Status Ansible Galaxy

An ansible role to install and configure heartbeat

Role Variables

Please refer to the defaults file for an up to date list of input parameters.

Example Playbook

- hosts: servers
  vars:
    heartbeat_conf_monitors:
      - type: http
        schedule: '*/1 * * * * * *'
        urls:
          - "https://www.google.com"
          - "https://www.amazon.com"
    heartbeat_conf_output:
      elasticsearch:
        enabled: true
         hosts:
          - http://localhost:9200
  roles:
     - role: nephelaiio.heartbeat

Testing

Please make sure your environment has devbox docker installed in order to run validation tests.

Role is tested against the following distributions (docker images):

  • Ubuntu Noble
  • Ubuntu Focal
  • Ubuntu Bionic
  • Rocky Linux 9
  • Debian Bullseye

You can test the role directly from sources using commands devbox install ; devbox run molecule test

License

This project is licensed under the terms of the MIT License

About

An Ansible role to install and configure heartbeat

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors