Actualiser partie2/README.md
This commit is contained in:
@@ -47,13 +47,6 @@ Les serveurs concernés :
|
||||
|
||||
# 🧩 Mission I6 — Automatisation Ansible
|
||||
|
||||
## 🎯 Objectifs
|
||||
|
||||
- Installer automatiquement **Docker**, **Payara**, et les conteneurs associés
|
||||
- Installer **MariaDB**, créer la base et les comptes
|
||||
- Injecter un **dump SQL local**
|
||||
- Télécharger un dump compressé depuis la base distante
|
||||
|
||||
## 📌 Structure des playbooks
|
||||
|
||||
### **1. Installation Docker + Payara**
|
||||
@@ -62,11 +55,11 @@ Playbook : `payara.yml`
|
||||
|
||||
### **2. VPN Wireguard**
|
||||
Playbook : `wg.yml`
|
||||
➡️ création DB, création utilisateurs, import du dump.
|
||||
➡️ installe Wireguard et génère les configs via un script et distribue sur ap31-test et ap31-prod.
|
||||
|
||||
### **3. Récupération d’un dump distant**
|
||||
Playbook : `install-glpi.yml`
|
||||
➡️ téléchargement du dump compressé sur la machine locale.
|
||||
➡️ installe GLPI grâce au docker-compose.
|
||||
|
||||
---
|
||||
|
||||
@@ -75,14 +68,13 @@ Playbook : `install-glpi.yml`
|
||||
## 🎯 Objectifs
|
||||
|
||||
- Relier **ap31-prod**, **ap31-test**, **ap31-mon** via un VPN chiffré
|
||||
- Transférer les logs des serveurs prod/test vers ap3x-mon via VPN
|
||||
- Faciliter la supervision (étape facultative)
|
||||
- Transférer les logs des serveurs prod/test vers ap31-mon via VPN
|
||||
|
||||
## 📌 Playbook utilisé : `wg.yml`
|
||||
|
||||
Ce playbook :
|
||||
|
||||
- Installe WireGuard sur les 3 machines
|
||||
- Installe WireGuard sur 2 machines
|
||||
- Génère les fichiers de configuration (`wg0-*.conf`) sur ap31-mon
|
||||
- Déploie la configuration adaptée sur chaque serveur
|
||||
- Active le service WireGuard
|
||||
@@ -100,11 +92,11 @@ Ce playbook :
|
||||
|
||||
---
|
||||
|
||||
## 📌 docker-compose.yml (GLPI)
|
||||
## 📌 Fichiers docker compose
|
||||
|
||||
Disponible ici :
|
||||
|
||||
🔗 **docker-compose.yml**
|
||||
🔗 **docker-compose.yml (GLPI)**
|
||||
https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/docker-compose.yml
|
||||
|
||||
🔗 **compose.yml (Payara)**
|
||||
@@ -195,5 +187,5 @@ Serveur web + reverse proxy capable d’émettre automatiquement des certificats
|
||||
| **install-glpi.yml** | [https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/install-glpi.yml](https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/install-glpi.yml) |
|
||||
| **docker-compose.yml** | [https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/docker-compose.yml](https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/docker-compose.yml) |
|
||||
| **compose.yml** | [https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/compose.yml](https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/compose.yml) |
|
||||
| **wg.yml** | [https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/compose.yml](https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/wg.yml) |
|
||||
| **wg.yml** | [https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/wg.yml](https://gitea.lyc-lecastel.fr/uap31-2026-r/SDIS29/src/branch/main/partie2/ansible/files/wg.yml) |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user