An ansible role to install and configure heartbeat
Please refer to the defaults file for an up to date list of input parameters.
- 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
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
This project is licensed under the terms of the MIT License