---
- include_tasks: kernel.yml
- include_tasks: coredump.yml
when: not kernel_coredump_enabled
- include_tasks: cgroup.yml
when:
- ansible_os_family | lower == "redhat"
- ansible_distribution_major_version == "8"