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

Update process #28

Closed sean-m-sullivan closed 3 years ago

sean-m-sullivan commented 3 years ago

What does this PR do?

After running into issue where I had no sudo access, created a test that only runs the yum if the package is not present.

How should this be tested?

Has been tested

ericzolf commented 3 years ago

Not going yet into the details but does it make sense? It adds quite a lot of complexity and you can't anyway install Tower without root/sudo access, so what would be the point of running pre_tasks?

sean-m-sullivan commented 3 years ago

Part of this is the changes to the tower_configuration I put forward, At least for Openshift/AWX on kubernetes, you don't need sudo access to install tower if the packages are preinstalled. I've been pulling this collection from galaxy to do the build, but my personal branch.

ericzolf commented 3 years ago

Sorry in the delay for reviewing, and happy new year.