diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-16 19:49:54 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-16 19:49:54 +0100 |
commit | 2c71b15e0044b04a68e18b48be46eaa41ecb2085 (patch) | |
tree | 8ba2af30d8de24616478b4ed68f727aecd4a5371 | |
parent | 0fc699b2e1998959de4c05fad8441a4a1d2fe8c0 (diff) |
-rwxr-xr-x | bin/update-everything.sh | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/bin/update-everything.sh b/bin/update-everything.sh index ea9d576..e3f8148 100755 --- a/bin/update-everything.sh +++ b/bin/update-everything.sh @@ -9,7 +9,6 @@ # printf_accross_width # local_update # remote_update -# non_free_update # pip_update # update_scripts_repo # update_whatis_db @@ -53,23 +52,10 @@ remote_update(){ printf_n_notify "remote update" + export ANSIBLE_CONFIG="$HOME/workbench/homelab-iac/ansible/ansible.cfg" ansible-playbook -b \ --inventory-file "$HOME/workbench/homelab-iac/ansible/inventory.yaml" \ - "$HOME/workbench/homelab-iac/ansible/playbooks/apt_update.yml" - -} - - -# Update non-free xbps packages -non_free_update(){ - - printf_n_notify "non-free update" - - pushd ~/workbench/auto-void-packages || exit 1 - ./update-git-repo.sh - cd ../void-packages || exit 1 - ./xbps-src pkg vagrant && $xi --repository=hostdir/binpkgs/nonfree vagrant - popd || exit 1 + "$HOME/workbench/homelab-iac/ansible/playbooks/update_system.yml" } @@ -116,8 +102,6 @@ local_update printf_accross_width "%" remote_update printf_accross_width "%" -non_free_update -printf_accross_width "%" pip_update printf_accross_width "%" update_scripts_repo |