Quick and easy Ansible Playbook to update remote VPS boxes
Go to file
2024-07-12 14:15:19 -04:00
roles Updating everything 2024-07-12 14:15:19 -04:00
hosts initial 2024-05-28 08:52:59 -04:00
hosts-caleb Updating everything 2024-07-12 14:15:19 -04:00
LICENSE.md adding LICENSE.md 2024-05-28 09:08:26 -04:00
README.md updated README.md 2024-05-28 09:00:16 -04:00
run.sh Updating everything 2024-07-12 14:15:19 -04:00
site.yml Updating everything 2024-07-12 14:15:19 -04:00
update.yml removed 'Ubuntu' from line 2024-05-28 08:54:11 -04:00

UpdateServersPlaybook

This is a quick Ansible Playbook that I wrote to update my Debian/Ubuntu based VPS boxes out on the internet. I was tired of having to login and update things or make sure they rebooted even though I have them set to "auto update". Sometimes that wasn't working... I blame the administrator (me)...

What does this do?

It logs into your servers after asking for the sudo password for the user, updates that apt cache then runs the update and upgrade functions. After that completes, it checks for the file that screams if a reboot is necessary. If found, it processes a clean reboot proceedure.

TODO

Add support for RPM based systems as soon as I have some that I'm using for daily driving.

Licence

Licenced under CC0 1.0 Universal. Do what you want with the code but remember to respect the Ansible, Linux, and distro specific licenses as well.