-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible Tower Deployment Role for Openshift #584
Conversation
… resulting in partial Tower installation failure * Added automatic retrieval of OCP Token based on username/password * Cleanup of inventory template * Yamllint fixes * README update * defaults and test defaults update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall great job - this role seems to be working great, and I've tested it in many ways with a variety of inventory variables.
I submitted a PR for your PR to hep with some additional clean-up/nitpick changes. In addition, there's one inline comment.
However, the bigger item may be to keep files from the installer in this repo - not sure I agree with that approach. That fix is (hopefully) only needed for very short term, so I'd rather we maintain a .zip file locally some where with that change and just point to that .zip file at install time instead of adding it here. We can discuss offline on Monday.
|openshift_token|Openshift token|yes(either that or password)|| | ||
|admin_user|Tower admin username|yes|"admin"| | ||
|admin_password|Tower admin user password|yes|"admin"| | ||
|secret_key|Tower secret key|yes|"abcdefgh"| | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite a few entries missing here - e.g.: pg_*
,openshift_pg_*
, and a few others. Please update per your defaults
file and otherwise what the tasks and template calls for.
Clean-up and nitpick changes
… ansible_customization_file
enabling `no_log` for the `oc login` command
removing "dead" code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…plied installer Lint fixes * Added workaround for Postgre Migration taking longer than expected, resulting in partial Tower installation failure * Added automatic retrieval of OCP Token based on username/password * Cleanup of inventory template * Yamllint fixes * README update * defaults and test defaults update Add a tower subscription from manifest.zip (redhat-cop#581) * first pass at adding a tower subscription from manifest.zip * Fix comma in template lookup * Allow configuration of retries/delay and update README Ansible tower updates (redhat-cop#582) * Updated READMEs and added a new 'wait' role * Updated README * Updated READMEs Clean-up and nitpick changes Clean-up Readme cleanup Yamllint fix Condition fix for Token retrieval Yamllint fix Added support for overwriting certain files within the Installer with ansible_customization_file Files cleanup Update openshift_retrieve_token.yml enabling `no_log` for the `oc login` command Update tower.yml removing "dead" code Ansible Tower Deployment Role for Openshift (redhat-cop#584) * Rewrite of Ansible Tower Openshift deployment role to use Red Hat supplied installer * Lint fixes * * Added workaround for Postgre Migration taking longer than expected, resulting in partial Tower installation failure * Added automatic retrieval of OCP Token based on username/password * Cleanup of inventory template * Yamllint fixes * README update * defaults and test defaults update * Clean-up and nitpick changes * Clean-up * Readme cleanup * Yamllint fix * Condition fix for Token retrieval * Yamllint fix * Added support for overwriting certain files within the Installer with ansible_customization_file * Files cleanup * Update openshift_retrieve_token.yml enabling `no_log` for the `oc login` command * Update tower.yml removing "dead" code Co-authored-by: Øystein Bedin <bedin@redhat.com> Co-authored-by: Øystein Bedin <oybed@users.noreply.github.com> Initial molecule test for config-timezone (redhat-cop#586) * Initial molecule test for timezone * Remove fedora test for now * Remove debug statement Updated docker image README (redhat-cop#583) * Updated docker image README * Fixing lint errors Co-authored-by: Tyler Auerbeck <tauerbec@redhat.com> Add conditional for credentials managed by tower (redhat-cop#588) * add conditional for credentials managed by tower * Add note to README about credential cleanup Adding option to serve ansible tower .zip file locally (redhat-cop#585) * Adding option to serve ansible tower .zip file locally * Adding option to serve ansible tower .zip file locally * Adding option to serve ansible tower .zip file locally * Update README.md Fixing "broken" URL for example value Adding support for automatic deployment of PostgreSQL PVC Improved readiness check for PVC Adding support for automatic deployment of PostgreSQL PVC Improved readiness check for PVC
What does this PR do?
This PR is changing the way we deploy Tower to Openshift, in favor of using Red Hat provided Tower installer.
How should this be tested?
Please see test directory for instructions and test inventory
Is there a relevant Issue open for this?
N/A
Other Relevant info, PRs, etc.
N/A
People to notify
cc: @redhat-cop/infra-ansible