Skip to content
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-oracle 4.0.0: ansible-doctor + refactoring all variable defaults #318

Merged
merged 133 commits into from
Sep 24, 2023

Conversation

Rendanic
Copy link
Collaborator

@Rendanic Rendanic commented Jan 29, 2023

IMPORTANT
This is a huge release with lot of changes and hopefully not so many bugs.

The RAC Support has been disabled in this version and will be reenabled within next minor releases of ansible-oracle.

v4.0.0

Release Summary

This is a BETA Release of ansible-oracle. Do not use it in production environments!
The release introduce https://github.com/thegeeklab/ansible-doctor[ansible-doctor] for documentation with annotations.
Please make sure, that furture Pull-Requests have updated README.md included, when changes in annotations are included.
A new github Action will check for it.
Some variable defaults have been changed.

Minor Changes

Breaking Changes / Porting Guide

Removed Features (previously deprecated)

Known Issues

Major Changes

  • ansible-doctor
    The projects will use ansible-doctor for easy documentation of all the roles.
    https://github.com/thegeeklab/ansible-doctor

  • Python-Modules refactoring
    All modules have been renamed to .pyy for linting with flake8 and black.

Some refactoring is needed for this:

  • Introduce new meta-roles for central definition of variables for multiple roles
  • some minor refactoring in 'when'-clauses for roles

BREAKING CHANGES

  • All modules are Python3 only
    Linting of Python modules are done with black and flake8. The support for Python2 has been removed, because all supported OS combinations for Oracle have Python3 support
    github-Actions for black and flake8 have been added.
  • replace .profile_grid with ocenv
    ansible-oracle does no change in .profile_grid anymore. Please do not use that environment script anymore for automation script. Move to ocenv instead.
  • Removed support for Grid-Infrastructure/Restart 11.2
    ansible-oracle removes the support for Database, Grid-Infrastructure/Restart with Release 43.x.
    Oracle desupported 11.2 for a long time. No PSUs and security updates are availible anymore.
    Please use a more modern version of Oracle.

BREAKING CHANGE for Inventories with Oracle Grid-Infrastructure/Restart

The variable configure_cluster is internal use only. Do not set it in inventory anmore.
Use oracle_install_option_gi instead:

oracle_install_option_gi: ""  # default value for Single Instance
oracle_install_option_gi: CRS_CONFIG # Grid-Infrastructure
oracle_install_option_gi: HA_CONFIG # Oracle Restart

BREAKING CHANGE for variables

db_homes_config
Mandatory attributes for each dict entry:

  • oracle_home
    Was optional before and created some confusions in the past.

oracle_databases
Mandatory attributes for each list entry:

  • home
    Was mandatory in the past, too.
    An entry for home must exists in db_homes_config
  • oracle_db_name
    Was mandatory in the past, too.
  • is_container
    The attribute is mandatory with value true for Database Version >=21.
  • state
    The attribute is mandatory with absent or present in lowercase as value.
  • listener_name
    The attribute is mandatory with value from oracle_listener_config. ansible-oracle needs to know where a listener for an instance needs to run from.

@Rendanic Rendanic added this to the 3.x milestone Jan 29, 2023
@Rendanic Rendanic force-pushed the prorahost branch 2 times, most recently from 61d392d to cb8ce96 Compare February 13, 2023 06:29
@Rendanic Rendanic changed the base branch from master to development February 15, 2023 06:44
@Rendanic Rendanic modified the milestones: 3.x, 4.x Feb 19, 2023
@Rendanic
Copy link
Collaborator Author

fixes #322

@Rendanic Rendanic changed the title ansible-doctor + refactoring ansible-doctor + refactoring all variable defaults Feb 19, 2023
@Rendanic
Copy link
Collaborator Author

fixes #320

@Rendanic Rendanic force-pushed the prorahost branch 2 times, most recently from 069219f to 2658b7a Compare February 19, 2023 17:17
@Rendanic Rendanic force-pushed the prorahost branch 5 times, most recently from e205e1e to b6aea30 Compare March 5, 2023 21:21
@Rendanic Rendanic force-pushed the prorahost branch 5 times, most recently from b73db5f to 3fc150f Compare March 9, 2023 12:02
@Rendanic Rendanic force-pushed the prorahost branch 4 times, most recently from 1f3371f to bbddb80 Compare May 21, 2023 19:07
@Rendanic Rendanic changed the title ansible-doctor + refactoring all variable defaults ansible-oracle 4.0.0: ansible-doctor + refactoring all variable defaults Jul 7, 2023
The dependencies were defined at the wrong place.
Moved them from requirements.yml to galaxy.yml

=> No need to install the dependencies anymore.
Removed option _www_download_bin from role.

Copy installation media only when installation is needed.
Remove copied ZIP-Archive after installation.
This could be disabled with `oraswdb_install_remove_install_images: false`
The installation time has been improved.
Patches are only copied und unarchived when installation is needed.
Cleanup of patch stage at end of role has been added.
@Rendanic Rendanic changed the base branch from development to master September 24, 2023 16:20
Important!

This is a non production beta release of ansible-oracle.

Please read the Pull-Request for more details:

oravirt#318
@Rendanic Rendanic marked this pull request as ready for review September 24, 2023 16:28
@Rendanic
Copy link
Collaborator Author

fixes #360

@Rendanic
Copy link
Collaborator Author

fixes #328

@Rendanic
Copy link
Collaborator Author

fixes #322

@Rendanic Rendanic merged commit f44a67c into oravirt:master Sep 24, 2023
6 checks passed
@Rendanic Rendanic deleted the prorahost branch September 24, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant