This commit is contained in:
Tykayn 2023-08-17 10:52:26 +02:00 committed by tykayn
parent 6419111937
commit 6d9faf31c4
3 changed files with 14 additions and 5 deletions

View File

@ -9,14 +9,15 @@ fi
ansible-galaxy install coglinev3.veracrypt ansible-galaxy install coglinev3.veracrypt
echo "vérification et installation des paquets requis" echo "vérification et installation des paquets requis"
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/tk_softwares.yml" #sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/tk_softwares.yml"
ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/pip_modules.yml" ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/pip_modules.yml"
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/snaps.yml"
ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/node_packages.yml" ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/node_packages.yml"
ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/cronjob_workflow.yml" ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/cronjob_workflow.yml"
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/server_tk_softwares.yml"
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/snaps.yml"
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/cronjob_workflow_root.yml" sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/cronjob_workflow_root.yml"

View File

@ -17,3 +17,11 @@ if [ ! -d $stockage_syncable_folder/www/backup ]; then
else else
echo "stockage syncable backup: c'est good" echo "stockage syncable backup: c'est good"
fi fi
if [ ! -d /home/www/tykayn ]; then
echo "nginx home www"
mkdir -p /home/www/tykayn
else
echo "nginx home www"
fi

View File

@ -12,7 +12,7 @@ export backup_laptop_archive_path="/home/poule/backup/encrypted"
export WORKFLOW_PATH=~/Nextcloud/ressources/workflow_nextcloud export WORKFLOW_PATH=~/Nextcloud/ressources/workflow_nextcloud
export WORKFLOW_PATH_PUBLIC=~/Nextcloud/ressources/workflow_nextcloud/public_workflow/ export WORKFLOW_PATH_PUBLIC=~/Nextcloud/ressources/workflow_nextcloud/public_workflow
export WORKFLOW_PATH_ROOT=/home/$main_user/Nextcloud/ressources/workflow_nextcloud export WORKFLOW_PATH_ROOT=/home/$main_user/Nextcloud/ressources/workflow_nextcloud
export ALIASES_PATH=$WORKFLOW_PATH/install/.bash_custom_aliases export ALIASES_PATH=$WORKFLOW_PATH/install/.bash_custom_aliases
# fichiers orgmode, wiki personnel # fichiers orgmode, wiki personnel
@ -26,7 +26,7 @@ export HOME_OF_SCRIPTS=$www_folder/scripts
export stockage_syncable_folder=/home/poule/encrypted/stockage-syncable export stockage_syncable_folder=/home/poule/encrypted/stockage-syncable
# dossier où stocker les projets de dev # dossier où stocker les projets de dev
export www_folder=$stockage_syncable_folder/www/development/html/ export www_folder=$stockage_syncable_folder/www/development/html
export node_version_expected=20 export node_version_expected=20
@ -83,4 +83,4 @@ exclude_opts=()
export exclude_opts export exclude_opts
bash ./variables.sh bash $WORKFLOW_PATH_PUBLIC/variables.sh