aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-13 20:48:21 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-13 20:48:21 +0100
commit0fc699b2e1998959de4c05fad8441a4a1d2fe8c0 (patch)
tree5f365738d70ae2a08c2a7df3827566c48fc626a7
parentdbdd08b946d06b2ff6cab1a2b6da3fd18f8128f1 (diff)
update-everything.sh : update pip, change ansible path, remove discord
-rwxr-xr-xbin/update-everything.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/update-everything.sh b/bin/update-everything.sh
index 5bced73..ea9d576 100755
--- a/bin/update-everything.sh
+++ b/bin/update-everything.sh
@@ -53,8 +53,9 @@ remote_update(){
printf_n_notify "remote update"
- ansible-playbook --inventory-file "$HOME/workbench/ansible/hosts" \
- "$HOME/workbench/ansible/update_adjutor.yml"
+ ansible-playbook -b \
+ --inventory-file "$HOME/workbench/homelab-iac/ansible/inventory.yaml" \
+ "$HOME/workbench/homelab-iac/ansible/playbooks/apt_update.yml"
}
@@ -67,7 +68,6 @@ non_free_update(){
pushd ~/workbench/auto-void-packages || exit 1
./update-git-repo.sh
cd ../void-packages || exit 1
- ./xbps-src pkg discord && $xi --repository=hostdir/binpkgs/nonfree discord
./xbps-src pkg vagrant && $xi --repository=hostdir/binpkgs/nonfree vagrant
popd || exit 1
@@ -79,6 +79,8 @@ pip_update(){
printf_n_notify "pip update"
+ "$HOME/workbench/pyvenv/bin/pip3" install --upgrade pip
+
"$HOME/workbench/pyvenv/bin/pip3" list --outdated --format=json | \
jq -r '.[] | "\(.name)==\(.latest_version)"' | \
xargs -n1 "$HOME/workbench/pyvenv/bin/pip3" install --upgrade