justereseau.heartbeat

nephelaiio.heartbeat

heartbeatをインストールして設定するためのansibleロール

ロール変数

入力パラメータの最新のリストは、defaultsファイルを参照してください。

依存関係

詳しくは依存関係設定を確認してください。

例のプレイブック

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

設定ファイルを含む例のプレイブック

- 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

テスト

ロールの検証テストを実行するために、環境にdockerがインストールされていることを確認してください。追加のPython依存関係は、requirementsファイルに記載されています。

ロールは以下のディストリビューション(dockerイメージ)に対してテストされています:

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

コマンド molecule test を使用して、ソースから直接ロールをテストすることができます。

ライセンス

このプロジェクトはMITライセンスの条件の下でライセンスされています。

プロジェクトについて

An Ansible role to install and configure heartbeat

インストール
ansible-galaxy install justereseau.heartbeat
ライセンス
mit
ダウンロード
767
所有者
(Not) Network Team at Lan ETS (Anymore)