---

# Variables for RedHat set in ansible_facts['os_family']

__ha_cluster_repos: []

__ha_cluster_role_essential_packages:
  - pcs
  # even if qnetd is not being configured, it is needed for removing qnetd
  # configuration
  - corosync-qnetd
  - openssl

__ha_cluster_fullstack_node_packages:
  - corosync
  - libknet1-plugins-all
  - resource-agents
  - pacemaker

__ha_cluster_cloud_agents_packages: {}

__ha_cluster_qdevice_node_packages:
  - corosync-qdevice
  # dependencies of a script to set up qdevice certificates
  - bash
  - coreutils
  - curl
  - grep
  - nss-tools
  - openssl
  - sed

__ha_cluster_sbd_packages:
  - sbd

__ha_cluster_services:
  - corosync
  - corosync-qdevice
  - pacemaker

# fence agent list for os_family
__ha_cluster_fence_agent_packages_default: "{{
    ['fence-agents-all']
    +
    (['fence-virt'] if ansible_facts['architecture'] == 'x86_64' else [])
  }}"
