# SPDX-License-Identifier: MIT
---
# Put the role's internal variables here that are not distribution specific.
# You can override these by defining the same variable with a different
# value in a platform/version specific file in vars/

# Examples of non-distribution specific (generic) internal variables:
__ad_integration_realmd_config: realmd.conf
__ad_integration_packages:
  - realmd
  - PackageKit
__ad_integration_services: [realmd]
__ad_integration_services_sssd: [sssd]
# ansible_facts required by the role
__ad_integration_required_facts:
  - distribution
  - distribution_major_version
  - distribution_version
  - os_family
  - default_ipv4
# the subsets of ansible_facts that need to be gathered in case any of the
# facts in required_facts is missing; see the documentation of
# the 'gather_subset' parameter of the 'setup' module
__ad_integration_required_facts_subsets: "{{ ['!all', '!min'] +
  __ad_integration_required_facts }}"
# Sample realm used for system tests without available real AD
__ad_integration_sample_realm: sample-realm.com
# Sample dc server used for system tests without available real AD
__ad_integration_sample_dc: sample-dc.sample-realm.com
# path to sssd.conf file
__ad_integration_sssd_conf: /etc/sssd/sssd.conf
# realm command
__ad_integration_realm_cmd: realm

# BEGIN - DO NOT EDIT THIS BLOCK - rh distros variables
# Ansible distribution identifiers that the role treats like RHEL
__ad_integration_rh_distros:
  - AlmaLinux
  - CentOS
  - RedHat
  - Rocky

# Same as above but includes Fedora
__ad_integration_rh_distros_fedora: "{{ __ad_integration_rh_distros + ['Fedora'] }}"

# Use this in conditionals to check if distro is Red Hat or clone
__ad_integration_is_rh_distro: "{{ ansible_distribution in __ad_integration_rh_distros }}"

# Use this in conditionals to check if distro is Red Hat or clone, or Fedora
__ad_integration_is_rh_distro_fedora: "{{ ansible_distribution in __ad_integration_rh_distros_fedora }}"
# END - DO NOT EDIT THIS BLOCK - rh distros variables
