Apply same improvements to oracle-db-install: organize vars (defaults/main.yml), add tags, assertions, and meta/main.yml

This commit is contained in:
Yacine31
2025-12-02 11:23:16 +01:00
parent 75485f2f7c
commit a3a12591d9
4 changed files with 64 additions and 35 deletions

View File

@@ -1,15 +1,25 @@
---
#
#
# installation des binaires ORACLE et patch
#
- name: Vérifier les prérequis pour l'installation
ansible.builtin.assert:
that:
- ansible_memtotal_mb >= 4096
- ansible_processor_vcpus >= 2
msg: "Prérequis non satisfaits pour Oracle : RAM >= 4GB, CPU >= 2"
tags: prerequisites
# installation des binaires Oracle DB
- include_tasks: install_database.yml
tags: install_db
# telechargement des fihiers : opatch + PSU-RU
# - include_tasks: download_software.yml
# tags: download
# Application du patch
# - include_tasks: opatch_apply.yml
# tags: patch