aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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