justereseau.heartbeat
nephelaiio.heartbeat
This is an Ansible role designed to install and set up the heartbeat service.
Role Variables
You can find the latest list of input parameters in the defaults file.
Dependencies
- This role depends on nephelaiio.elastic_repo.
For more information, check the dependency configuration.
Example Playbook
- hosts: servers
vars:
heartbeat_package_state: latest
heartbeat_conf_manage: yes
roles:
- role: nephelaiio.heartbeat
Example Playbook with Configuration File
- hosts: servers
vars:
heartbeat_package_state: latest
heartbeat_conf_path: /etc/ha.d/ha.cf
heartbeat_haressources_path: /etc/ha.d/haresources
heartbeat_authkey_path: /etc/ha.d/authkeys
heartbeat_conf_file: "{{ config_files_dir }}/ha.cf.j2"
heartbeat_haressources_file: "{{ config_files_dir }}/haressources.j2"
heartbeat_authkey_file: "{{ config_files_dir }}/authkey.j2"
roles:
- role: nephelaiio.heartbeat
Testing
Make sure you have Docker installed to run role validation tests. You can find more Python dependencies in the requirements file.
This role is tested on the following operating systems (Docker images):
- Ubuntu Focal
- Ubuntu Bionic
- Ubuntu Xenial
- CentOS 7
- Debian Buster
You can directly test the role from the source using the command molecule test
.
License
This project is licensed under the MIT License.
Installa
ansible-galaxy install justereseau.heartbeat
Licenza
mit
Download
767
Proprietario
(Not) Network Team at Lan ETS (Anymore)