feat: Ajoute script d'update et config supervisor

This commit is contained in:
Serreau Jovann
2025-07-16 14:02:46 +02:00
parent 8ef9358599
commit 4fbfcbf419
3 changed files with 65 additions and 0 deletions

14
update.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
RED='\033[0;31m'
ORANGE='\033[0;33m'
GREEN='\033[0;32m'
CYAN='\033[0;36m'
RESET='\033[0m' # Reset color to default
echo "${CYAN}##########################${RESET}"
echo "${CYAN}# MAINFRAME UPDATE START #${RESET}"
echo "${CYAN}##########################${RESET}"
ansible-playbook -i ansible/hosts.ini ansible/playbook.yml
echo "${CYAN}##############${RESET}"
echo "${CYAN}# END UPDATE #${RESET}"
echo "${CYAN}##############${RESET}"