# SPDX-License-Identifier: MIT
---
__sudo_sudoers_config: /etc/sudoers
__sudo_packages: sudo
__sudo_services: []
__sudo_required_facts:
  - distribution
  - distribution_major_version
  - distribution_version
  - os_family
__sudo_required_facts_subsets: "{{ ['!all', '!min'] +
  __sudo_required_facts }}"

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

# Same as above but includes Fedora
__sudo_rh_distros_fedora: "{{ __sudo_rh_distros + ['Fedora'] }}"

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

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