heartbeat

nephelaiio.heartbeat

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.

Dependencies

Please review the dependency configuration for more details

Example Playbook

- hosts: servers
  vars:
    heartbeat_package_state: latest
    heartbeat_conf_manage: yes
  roles:
     - role: nephelaiio.heartbeat

Example Playbook with config 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

Please make sure your environment has docker installed in order to run role validation tests. Additional python dependencies are listed in the requirements file

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

  • Ubuntu Focal
  • Ubuntu Bionic
  • Ubuntu Xenial
  • CentOS 7
  • Debian Buster

You can test the role directly from sources using command molecule test

License

This project is licensed under the terms of the MIT License

About

An Ansible role to install and configure heartbeat

Install
ansible-galaxy install justereseau/ansible-role-heartbeat
GitHub repository
License
mit
Downloads
752
Owner
(Not) Network Team at Lan ETS (Anymore)