rendanic / rendanic.ansible_oracle / 4.0.0 / module / oracle_opatch Manage patches in an Oracle environment | "added in version" 2.4.0 of rendanic.ansible_oracle" Authors: Mikael Sandström, oravirt@gmail.com, @oravirtrendanic.ansible_oracle.oracle_opatch (4.0.0) — module
Install with ansible-galaxy collection install rendanic.ansible_oracle:==4.0.0
collections: - name: rendanic.ansible_oracle version: 4.0.0
Manages patches (applies/rolls back)
Only manages the opatch part of patching (opatch/opatch auto/opatchauto)
If opatchauto is true, the task has to be run as root
port: default: 1521 description: 'The listener port to connect to the database if using dbms_service ' required: false state: choices: - present - absent - opatchversion default: present description: 'Should a patch be applied or removed present = applied, absent = removed, opatchversion = returns the version of opatch ' rolling: default: true description: 'Should a patch installed in rolling upgrade mode? ' required: false hostname: aliases: - host default: localhost description: 'The host of the database if using dbms_service ' required: false patch_id: aliases: - id default: None description: The patch id required: false opatchauto: aliases: - autopatch default: false description: 'Should the patch be applied using opatchato If set to true, the task has to run as ''root'' ' required: false patch_base: aliases: - path - source - patch_source - phBaseDir default: None description: 'Path to where the patch is located ' required: false exclude_upi: aliases: - exclude_unique_patch_id default: None description: 'The unique patch identifier that should not be rolled back This option will be honored only when state=absent. It helps to write idempotent playbooks when changing interim patches that are dependent on a specific PSU/RU. ' required: false oracle_home: aliases: - oh description: The home which will be patched required: true patch_version: aliases: - version_added default: None description: 'The patch version This key is mandatory if you''re applying a ''opatchauto'' type of patch ' required: false conflict_check: default: true description: 'Should a conflict check be run before applying a patch. If the check errors the module exits with a failure ' required: false stop_processes: default: false description: 'Stop Instances and Listener before applying a patch in ORACLE_HOME ' required: false ocm_response_file: default: false description: 'The OCM responsefile needed for OPatch versions < ''12.2.0.1.5'' ' required: false opatch_minversion: aliases: - opmv default: None description: 'The minimum version of opatch needed If this key is set, a comparison is made between existing version and opatch_minversion If existing < opatch_minversion an error is raised ' required: false