Create shared Oracle variables in group_vars/all.yml

- Extract common Oracle variables from role defaults to group_vars/all.yml
- Variables are now shared across all roles without duplication
- Maintains backward compatibility with existing role defaults
- Follows Ansible best practices for variable organization
This commit is contained in:
Yacine31
2025-12-02 13:50:45 +01:00
parent 2a2fccc1df
commit cd96954bf1

11
group_vars/all.yml Normal file
View File

@@ -0,0 +1,11 @@
---
# Variables communes Oracle partagées entre tous les rôles
# Ces variables sont automatiquement chargées par Ansible pour tous les hôtes
oracle_version: "19.0.0"
oracle_base: "/u01/app/oracle"
oracle_home: "{{ oracle_base }}/product/{{oracle_version}}/dbhome_1"
oracle_inventory: "/u01/app/oraInventory"
oracle_sources: "/u01/sources"
oracle_oradata: "/u02/oradata/"
oracle_fra: "/u03/fast_recovery_area/"