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
80 stars 49 forks source link

Add support for OCP based install #87

Closed branic closed 2 years ago

branic commented 2 years ago

What does this PR do?

This PR adds a role for installing AAP on OpenShift.

This is a fairly basic role at this point. I plan on adding support for installing/configuring RH-SSO integration with AH in future PR(s).

I'd also like feedback/thoughts on whether the role should support creating multiple AC and/or AH instances (in one or more namespaces) before the PR is merged because the variable structure will need to change slightly (which would be a breaking change I'd like to avoid if possible).

How should this be tested?

Create a playbook to run the aap_ocp_install role with appropriate variables set (see the README.md in the role).

Is there a relevant Issue open for this?

No

Other Relevant info, PRs, etc

None

vvaldez commented 2 years ago

Very nicely organized role, I will give it a try. Thanks!

djdanielsson commented 2 years ago

I am curious why would someone use this over the operator in the store that can deploy AAP in OCP?

sean-m-sullivan commented 2 years ago

I believe this Uses the operator in the store, but lets you Automate the process rather then click click click

branic commented 2 years ago

I am curious why would someone use this over the operator in the store that can deploy AAP in OCP?

This role automates the deployment of the operator and AC/AH CRs that the operator will use to deploy the instances. The same question could be asked of the roles that support installing on bare metal/vms. Why wouldn't a user just use the setup.sh that is shipped with AAP.