---
__kernel_settings_tuned_profile: kernel_settings
__kernel_settings_profile_src: "{{ __kernel_settings_tuned_profile }}"
__kernel_settings_tuned_dir: /etc/tuned
__kernel_settings_tuned_main_conf_file: >-
  {{ __kernel_settings_tuned_dir }}/tuned-main.conf
__kernel_settings_profile_dir: >-
  {{ __kernel_settings_profile_parent }}/{{ __kernel_settings_tuned_profile }}
__kernel_settings_profile_filename: >-
  {{ __kernel_settings_profile_dir }}/tuned.conf
__kernel_settings_tuned_profile_mode: >-
  {{ __kernel_settings_tuned_dir }}/profile_mode
__kernel_settings_tuned_active_profile: >-
  {{ __kernel_settings_tuned_dir }}/active_profile
__kernel_settings_state_absent:
  state: absent
__kernel_settings_state_empty:
  state: empty
__kernel_settings_previous_replaced:
  previous: replaced

# ansible_facts required by the role
__kernel_settings_required_facts:
  - distribution
  - distribution_major_version
  - distribution_version
  - os_family

# 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
__kernel_settings_required_facts_subsets: "{{ ['!all', '!min'] +
  __kernel_settings_required_facts }}"

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

# Same as above but includes Fedora
__kernel_settings_rh_distros_fedora: "{{ __kernel_settings_rh_distros + ['Fedora'] }}"

# Use this in conditionals to check if distro is Red Hat or clone
__kernel_settings_is_rh_distro: "{{ ansible_facts['distribution'] in __kernel_settings_rh_distros }}"

# Use this in conditionals to check if distro is Red Hat or clone, or Fedora
__kernel_settings_is_rh_distro_fedora: "{{ ansible_facts['distribution'] in __kernel_settings_rh_distros_fedora }}"
# END - DO NOT EDIT THIS BLOCK - rh distros variables
