Clean up Oracle variables - complete centralization

- Add dbhome variable to group_vars/all.yml for consistency
- Remove duplicate Oracle variables from oracle-db-install defaults
- Standardize oracle_home definition across all roles
- Keep only role-specific variables in individual role defaults
- All common variables now centralized in group_vars/all.yml
This commit is contained in:
Yacine31
2025-12-02 15:29:15 +01:00
parent cd96954bf1
commit 51ca83ad04
2 changed files with 10 additions and 13 deletions

View File

@@ -4,8 +4,14 @@
oracle_version: "19.0.0"
oracle_base: "/u01/app/oracle"
oracle_home: "{{ oracle_base }}/product/{{oracle_version}}/dbhome_1"
dbhome: "dbhome_1"
oracle_home: "{{ oracle_base }}/product/{{oracle_version}}/{{ dbhome }}"
oracle_inventory: "/u01/app/oraInventory"
oracle_sources: "/u01/sources"
oracle_oradata: "/u02/oradata/"
oracle_fra: "/u03/fast_recovery_area/"
oracle_fra: "/u03/fast_recovery_area/"
full_configuration: true
secure_configuration: false
scripts_dir: "/home/oracle/scripts"

View File

@@ -1,14 +1,7 @@
---
# Variables par défaut surchargeables pour oracle-db-install
# Les variables communes sont lues depuis group_vars/all.yml
oracle_version: "19.0.0"
oracle_base: "/u01/app/oracle"
dbhome: "dbhome_1"
oracle_home: "{{ oracle_base }}/product/{{oracle_version}}/{{ dbhome }}"
oracle_inventory: "/u01/app/oraInventory"
oracle_sources: "/u01/sources"
oracle_oradata: "/u02/oradata/"
oracle_fra: "/u03/fast_recovery_area/"
oracle_install_edition: "EE"
oracle_zip_filename: "Oracle_Database_19.3.0.0.0_for_Linux_x86-64.zip"
@@ -24,6 +17,4 @@ tmp_size_gb: 1
patch_dir: "{{ oracle_sources }}"
opatch_file: p6880880_190000_Linux-x86-64.zip
psu_file: patch_ru.zip
patch_number: 36233263
scripts_dir: "/home/oracle/scripts"
patch_number: 36233263