From 33d5f3a1ec64a13c4dee2e5aa5a9f6a0929bc522 Mon Sep 17 00:00:00 2001 From: SysAdmin DCC Date: Mon, 1 Dec 2025 09:16:23 +0000 Subject: [PATCH] Reparacion plantillas vacias y tareas core --- reparar.sh | 130 +++++++++++++++++++ roles/core/tasks/main.yml | 32 +++++ roles/gateway/templates/authentik-compose.j2 | 54 +++++++- roles/gateway/templates/npm-compose.j2 | 12 +- 4 files changed, 226 insertions(+), 2 deletions(-) create mode 100644 reparar.sh diff --git a/reparar.sh b/reparar.sh new file mode 100644 index 0000000..2c3660c --- /dev/null +++ b/reparar.sh @@ -0,0 +1,130 @@ +#!/bin/bash + +# Ir a la carpeta del proyecto +cd /root/alicante-infra || cd /sc/alicante-infra + +echo "🔧 Reparando plantillas vacías..." + +# --- 1. REPARAR TEMPLATES GATEWAY --- +cat > roles/gateway/templates/npm-compose.j2 < roles/gateway/templates/authentik-compose.j2 < roles/core/tasks/main.yml <