# SPDX-License-Identifier: MIT
---
__systemd_packages:
  - systemd
__admin_units_dir: /etc/systemd/system

# relative to xdg config dir/home dir
__user_units_dir: .config/systemd/user

# convenience for checking units
__systemd_all_units: "{{ systemd_unit_files + systemd_unit_file_templates + systemd_dropins + systemd_started_units + systemd_stopped_units + systemd_restarted_units + systemd_reloaded_units + systemd_enabled_units + systemd_disabled_units + systemd_masked_units + systemd_unmasked_units }}"

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

# Same as above but includes Fedora
__systemd_rh_distros_fedora: "{{ __systemd_rh_distros + ['Fedora'] }}"

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

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