add public workflow var
This commit is contained in:
parent
ed0166db29
commit
186985289d
@ -11,13 +11,15 @@ idéalement dans:
|
|||||||
# débuter
|
# débuter
|
||||||
Récupérer le script d'initialisation
|
Récupérer le script d'initialisation
|
||||||
```bash
|
```bash
|
||||||
git clone https://forge.chapril.org/tykayn/workflow
|
mkdir -p ~/Nextcloud/ressources/workflow_nextcloud/
|
||||||
cd workflow
|
cd ~/Nextcloud/ressources/workflow_nextcloud/
|
||||||
|
git clone https://forge.chapril.org/tykayn/workflow public_workflow
|
||||||
|
cd public_workflow
|
||||||
```
|
```
|
||||||
Configrer les variables, puis lancer le script d'initialisation
|
Configrer les variables, puis lancer le script d'initialisation
|
||||||
```bash
|
```bash
|
||||||
editor workflow_variables.sh
|
editor workflow_variables.sh
|
||||||
sudo bash ~/Nextcloud/ressources/workflow_nextcloud/init_workflow_tykayn.sh
|
sudo bash ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/initialization/init_workflow.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# mise en place du workflow
|
# mise en place du workflow
|
||||||
#
|
#
|
||||||
echo "========== init de workflow par Tykayn ======="
|
echo "========== init de workflow par Tykayn ======="
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||||
|
|
||||||
bash ./partials/check_foler_integrity.sh
|
bash ./partials/check_foler_integrity.sh
|
||||||
|
|
||||||
@ -17,15 +17,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/automatisation/ansible/tk_softwares.yml"
|
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/tk_softwares.yml"
|
||||||
|
|
||||||
|
|
||||||
ansible-playbook "$WORKFLOW_PATH/automatisation/ansible/pip_modules.yml"
|
ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/pip_modules.yml"
|
||||||
sudo ansible-playbook "$WORKFLOW_PATH/automatisation/ansible/snaps.yml"
|
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/snaps.yml"
|
||||||
ansible-playbook "$WORKFLOW_PATH/automatisation/ansible/node_packages.yml"
|
ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/node_packages.yml"
|
||||||
|
|
||||||
ansible-playbook "$WORKFLOW_PATH/automatisation/ansible/cronjob_workflow.yml"
|
ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/cronjob_workflow.yml"
|
||||||
sudo ansible-playbook "$WORKFLOW_PATH/automatisation/ansible/cronjob_workflow_root.yml"
|
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/automatisation/ansible/cronjob_workflow_root.yml"
|
||||||
|
|
||||||
sudo apt autoremove -y
|
sudo apt autoremove -y
|
||||||
|
|
||||||
@ -111,11 +111,11 @@ if ! hash josm ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# bash $WORKFLOW_PATH/update_git_projects.sh
|
# bash $WORKFLOW_PATH_PUBLIC/update_git_projects.sh
|
||||||
|
|
||||||
echo "ajouter dans la crontab utilisateur le script cronjob_nextcloud.sh"
|
echo "ajouter dans la crontab utilisateur le script cronjob_nextcloud.sh"
|
||||||
echo "# toutes les 5 minutes
|
echo "# toutes les 5 minutes
|
||||||
#*/5 * * * * bash $WORKFLOW_PATH/cronjob_nextcloud.sh
|
#*/5 * * * * bash $WORKFLOW_PATH_PUBLIC/cronjob_nextcloud.sh
|
||||||
|
|
||||||
# vérifiez avec la commande
|
# vérifiez avec la commande
|
||||||
crontab -e
|
crontab -e
|
||||||
|
@ -11,6 +11,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_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
|
||||||
|
Loading…
Reference in New Issue
Block a user