redhat-cop / aap_utilities

Ansible Collection for automated deployment of AAP and other objects for general use
https://galaxy.ansible.com/infra/aap_utilities
GNU General Public License v3.0
78 stars 47 forks source link

Add RPM pre-requisites to pre_tasks and simplify role #21

Closed ericzolf closed 3 years ago

ericzolf commented 3 years ago

What does this PR do?

On a minimal RHEL 8, the unarchive task complains about Commands "gtar" and "tar" not found. Command "unzip" not found. Also there is no point in having a tasks file beside main, also removed unneeded prefix to task names.

How should this be tested?

Install Tower on RHEL8 with only the following packages and see how it complains without this PR:

%packages
@^minimal-environment
kexec-tools
%end

Then see that it works with the patch.

Is there a relevant Issue open for this?

n/a

Other Relevant info, PRs, etc.

n/a