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

Introduce basic installation of Automation Hub #30

Closed ericzolf closed 3 years ago

ericzolf commented 3 years ago

What does this PR do?

the basic configuration works, using the database deployed by the Tower installer, and self-signed certificates; a more complex configuration with standalone/external database should be possible, but not tested. I didn't even look at the SSL configuration aspects. I took also the chance to rename 'tower_database' to 'tower_database_host' which is clearer.

How should this be tested?

Add the tower_ah_... variables to your inventory and re-run the setup.

Is there a relevant Issue open for this?

n/a

Other Relevant info, PRs, etc.

The installation fails when installing a single node Tower with embedded database, and with the AH using the embedded database, because the setup playbooks don't open the firewall. I only added a commented out potential fix, subject to discussion (because @sean-m-sullivan said he needs the role to work without admin rights).

ericzolf commented 3 years ago

Addressed the documentation topic, but I left the firewall topic open for now.

sean-m-sullivan commented 3 years ago

Once the Readme choice is solved this is solid to good.