Using package, we can merge the yum/dnf duplication, and we do not need is_rhel, since only EL6 will have ansible_distribution_major_version at 6.