feat: Ajoute script d'update et config supervisor
This commit is contained in:
14
update.sh
Normal file
14
update.sh
Normal 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}"
|
||||
Reference in New Issue
Block a user